Why would adding display:inline anywhere be ignored in this example?
http://www.w3.org/TR/CSS21/box.html#mpb-examples
russ - maxdesign wrote:
Hi Scott,
An inline element can have margin and padding applied to it but only left
and right margin/padding will affect other elements. Top and bottom
H - I'm having trouble dealing with one of those CSS concepts that I
considered as easy as breathing...
I've got a block-level element (a div) that contains an inline element
(a strong tag, but span would work the same...). When I apply padding to
the internal element, it oversteps the
should expand to contain inline children?
I thought the rule was that a container should expand to hold its
contents (excepting floated elements...)
**
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org