Sent by Roger Roelofs on 28 March 2006 07:07
Deano,
On Mar 28, 2006, at 1:00 AM, [EMAIL-REMOVED]> wrote:
> Thank you Georg and Roger for your help.
>
> I have incorporated your recommendations into
> http://www.availcompany.com/webdev/webcode/css_test4.htm as follows:
> <snip>
> 2. per Gerog and Roger, Removed the clearing-div, and added #footer
> {clear: both;}. Do you still think I do not need .clearfix even though
> threecolwrap wraps three left floated columns?
Don't take my word for it. Try removing the class="clearfix" from the
html and see what happens. If your target browsers render the page
properly without that, you don't need it. The clearfix technic is
used to emulate ie's "make elements tall enough to contain floated
children" misbehavior in more standards compliant browsers. Because
#threecolwrap is floated, it will already do that without the clearfix.
If #threecolwrap were not floated you would need the clearfix to keep
column 1 from poking out the bottom.
hth
--
Roger Roelofs
"Remember, if you’re headed in the wrong direction,
God allows U-turns!"
~Allison Gappa Bottke
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/