On Jul 1, 2009, at 1:57 PM, Brian Funk wrote:

>> <http://www.w3.org/TR/2008/REC-CSS2-20080411/visuren.html#floats>
>
> it says:
> "A floated box must have an explicit width (assigned via the 'width'  
> property, or its intrinsic width in the case of replaced elements)."
>
> Is it correct to understand this statement to mean that if what is  
> being floated is a replaced element that has it's width given in the  
> html element, then the width does not need to be declared in the CSS  
> rule?
That would be a correct reading, yes. The other reason being that an  
<img> always has an intrinsic width.

Note the link above points to the old CSS 2.0 text. What is  
implemented by current browsers is the CSS 2.1 text, linked to in my  
previous post.

For more on width, read CSS2.1:10.2 (and subsequent 10.3)
<http://www.w3.org/TR/CSS21/visudet.html#the-width-property>


Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to