Re: [WSG] block elements should expand to contain inline children?

2005-03-01 Thread Claudia Frers
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

[WSG] block elements should expand to contain inline children?

2005-02-28 Thread Scott Reston
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

Re: [WSG] block elements should expand to contain inline children?

2005-02-28 Thread Charles Martin
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