[css-d] Centering header images in elastic layout and 100% width - scrollbars

2007-12-16 Thread Anne E. Shroeder
I'm re-coding a web site for someone (not redesigning, not my design!) to be in CSS - he wants the page to extend across no matter what size the browser. OK, so I'm having 2 conundrums that I've not been able to find a solution for: In the header, I'd like to absolutely position the

Re: [css-d] Centering header images in elastic layout and 100% width - scrollbars

2007-12-16 Thread Anne E. Shroeder
Much more sensible, thank you. But a question: Why do I need to have display:inline as well as float:left? #header #logoLeft { width: 234px; float:left; margin: -15px 0 0 10px; display: inline; } #header #logoRight { width: 123px; float:right; margin: -15px 20px 0 0; display: inline; }

Re: [css-d] Centering header images in elastic layout and 100% width - scrollbars

2007-12-16 Thread Gunlaug Sørtun
Anne E. Shroeder wrote: Much more sensible, thank you. But a question: Why do I need to have display:inline as well as float:left? Only to kill the 'margin-doubling on floats' bug in IE6. That fix makes as little sense as the IE6 bug, but it works without any negative side-effects.