Bonita Hatcher wrote on 10 aug 2003 in
comp.infosystems.
www.authoring.stylesheets: Quote:
Right now I am doing a large site and want to have the menu bar be on
the right and be part of a large central area. I am using float: right.
It looks great, but if you size the window down by much it begins to
squish everything over. I see this on many pages. I checked out some
links from here and they do the same thing. |
The alternative is to make a fixed width page by putting all contents into
a div:
<body>
<div style="width:600px;height:0;">
<div style="width:100px;float:right;background-color:#eef;">float</div>
Hi world
<div style="width:400px;background-color:#fee;">rest</div>
</div>
</body>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)