Is there a good way to hide the backgrounds or borders that can appear behind floated elements? For example: http://www.sawmac.com/ tests/float_bg.html
This is correct behavior--only the content is displaced by the float, not the box itself, so its borders and backgrounds appear behind the float. But this isn't always desirable. The only solutions I've found are: 1. replace the margin value for the floated element with a border of matching width and color that matches the page background. The thick border then covers the backgrounds and borders behind it. 2. add another floated div with a background color that matches the page background and width set to the original floated elements width + margins + border + padding. Then insert the original floated element inside that <div> Make sense? Are there other ways? Thanks for the help --dave mcfarland ______________________________________________________________________ css-discuss [EMAIL PROTECTED] 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/