On Sep 9, 2008, at 8:49 PM, Tim Dawson wrote:

>  Perhaps this is a good opportunity to ask a question that's puzzled  
> me for a
> while.  Can you have both a 'float' and a 'clear' in the same style ?
> Georg seems to be saying you can. Is the order of the rules is going  
> to make a
> difference ? (I'd have thought so).
> e.g.
> img.leftImg {float:left; clear:left;}

Yes you can have both on the same element, and no, it doesn't matter  
in which order you write the rules.

selector {float:left; clear:left;} and selector { clear:left;  
float:left;} will give exactly the same result.

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





______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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