Sent by Jason Estes on 9 July 2003 16:04
Hi gilbert-
>My first post here. I'm having problems with my positioning on my site. I'm
trying to create a two-column format but it >seems like the "#mainbody "
wraps around the "#nav" after it passes. here's the CSS code:
>Here's the link: http://www.plain-simple.com/new/
>Here's the link to the CSS file: http://www.plain-simple.com/new/common.css
This is behaving exactly as it should according to what you have declared.
You are combining methods (float and positioning) which can be a dangerous
thing to do. One fix would be to either float both columns, or position
both columns, or just move the #mainbody left 175 px.
Basically your code tell it that the #mainbody is to be positioned against
the left edge of the browser, and that the nav should float to the left of
that for as tall as it is. Which is what happens. The easiest, I think,
solution would be to change your #mainbody to include left:175px; or
whatever is appropriate, so that there is a margin on the left that will
account for the width of your navigation column.
HTH
Jason Estes
The BEWB
www.bewb.org
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/