HighDots Forums  

Re: float vs absolute positioning

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: float vs absolute positioning in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Evertjan.
 
Posts: n/a

Default Re: float vs absolute positioning - 08-10-2003 , 03:34 AM






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)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.