[personal profile] sistabro posting in [community profile] style_system
EDIT: Apparently there was a p { width: 20px; } line that came with where ever I grabbed this from as my base to work from... yeah. Removing that fixed it and I can't believe I didn't see that. *face palm* Thank you all for taking a look.

So I am moderately clueless at all of this, but decided to try my hand at a a custom css style based on blanket. All was going well, things looked like I wanted, and then I saw a particular entry on my reading page that had completely insane text wrapping. Now if all the entries on my reading page had been doing this, I could probably figure I had issues with margins or paddings or what not, but it's only some of my reading list entries and I just, IDEK where to start to look for what's going on and why.

Help?


Screenshot showing the end of a normally wrapping entry and the start of a messed up one

My mostly done css code

Date: 2011-05-09 05:25 pm (UTC)
zvi: self-portrait: short, fat, black dyke in bunny slippers (Default)
From: [personal profile] zvi
can you give the textbox a width of, like, 200 characters and a height of 40 characters, so I can read what's in it?

Date: 2011-05-09 05:31 pm (UTC)
fulminata: (Default)
From: [personal profile] fulminata
I'm wondering if maybe there is a missing element/unclosed tag/etc being inherited on the next post. Do you have a link so I could see the issue live? That helps a lot.

Date: 2011-05-09 05:44 pm (UTC)
fulminata: (random - street bokeh)
From: [personal profile] fulminata
I just refreshed and the problem disappeared on both the network & reading views. Did you do any editing?

It's possible that it was just a loading issue and the page didn't parse out properly.

Date: 2011-05-09 05:51 pm (UTC)
fulminata: (Default)
From: [personal profile] fulminata
Awesome! Glad it got fixed. :D

Date: 2011-05-09 05:43 pm (UTC)
sam_gardener: The catbus from My Neighbor Totoro. (Default)
From: [personal profile] sam_gardener

p {width: 20px;}

That p tag has a width of 20 px and so anything (such as the example from your reading page is forced into a minimal width. - At least that's how it looks to me in firebug.

Date: 2011-05-09 05:51 pm (UTC)
sam_gardener: The catbus from My Neighbor Totoro. (Default)
From: [personal profile] sam_gardener
Your welcome! glad that you could understand my incoherent typing. :)

Date: 2011-05-09 05:47 pm (UTC)
sam_gardener: The catbus from My Neighbor Totoro. (Default)
From: [personal profile] sam_gardener
um...
so anything in a p tag (such as the example from your reading page) is forced into a minimal width -

sorry - maybe that makes more sense.

Profile

Dreamwidth style system discussion

September 2025

S M T W T F S
 123456
78 910111213
14151617181920
21222324252627
282930    

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 21st, 2025 01:15 pm
Powered by Dreamwidth Studios