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
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;
}
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.