Hi Alan, > Alan Gresley wrote: > > > .floatL { > > float:left; > > margin: 0 1 em 1em; > > padding: 0.25em; > > display: block; > > } > > > I should remind myself. Floating an element causes it to display as a > block. Also width and margin values are used.
Yes, floats get computed as display:block, but also images are not inline elements they are *replaced elements* hence they can get all the styling (margin, padding, width/height). -- Regards, Thierry www.tjkdesign.com | www.ez-css.org | @thierrykoblentz ______________________________________________________________________ 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/