View Full Version : Second line of text wont indent

Mad Mike
12-02-2010, 01:49 PM
I have a css style set up with 8px of left padding for my product description...it works fine for the first line but not the second, and so on...Can any come up with a fix? The link is below.


12-02-2010, 02:03 PM
Try adding display:block; to the CSS style. See what that does.

12-02-2010, 02:10 PM
Or you could use a div rather than a span.

Mad Mike
12-02-2010, 02:18 PM
The display block worked...thanks! What did that actually do? Just trying to get and unsderstanding...

12-02-2010, 02:22 PM
A span tag is what we call an 'inline' element meaning that it has no real structure in its natural form. Adding display:block; overrides that so that the span acts more like a div which is naturally a block element. Make sense?