On Tue, 19 Oct 2004 14:04:12 +0300, Marek Mänd <ca********@mail.ee> wrote:
Is in theory creating layout of two floats possible, where
the left "float:left" has fixed with
the right "float:left" extends to the right side of the browser window?
If the second element is to extend all the way across the browser window
why bother floating it at all? Why not just give it a margin-left
equivalent to the width of the first float?
#one {float: left; width: 20em;}
#two {margin-left: 20em;}
If you really want to float both of them then you'll need to specify the
widths in percentages:
#one {float: left; width: 20%;}
#two {float: left; width: 80%;}
(and watch out for the box model bugs)
Steve