Adam wrote: > You can see I need to push the column headings down, but it shifts > the image too. Has anyone else come across this?
All the time. It's a standard compliant browser's reaction to 'collapsing margins'[1], and affects _all_ my standard compliant browsers. > This is the HTML: http://www.gargantus.com/sylvie/flow.htm > > I discovered a work-around by making the content divs absolute too, > but I would rather leave them relative. The solution is to create separation between elements so those vertical margins can't interact and collapse into each other and end up pushing the wrong element. Making the content div absolute does create separation, but obviously doesn't suit your design. Instead, add... #customerSearchResults {overflow: hidden;} ...or... #customerSearchResults {padding: 1px 0;} ...or... #customerSearchResults {display: table;} ...or any of the other variants mentioned in the W3C article. All of them work well as separators in your case, so you just have to pick the one that suits your design best. The reason IE seems to get it right without "assistance", is that IE's old 'hasLayout'[2] bug comes to its rescue - creating the same separation as those standard solutions create in other browsers. regards Georg [1]http://www.w3.org/TR/CSS21/box.html#collapsing-margins [2]http://www.satzansatz.de/cssd/onhavinglayout.html -- http://www.gunlaug.no ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- 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/
