On 18/12/2006 06:00, Information - Professional Web Pages wrote:
> I have 2 divs:
> 
> 1.) The first that I am trying to float left and extend all the way to the 
> bottom
> 2.) The second that I am trying to move up.

Try this:
instead of having a margin-left: 250px;, do this:
#CntMainText {
     border: solid 1px red;
     float: left;
     background: white;
     width:490px;
}

When you combine it with this:

#CntBody {
     border-bottom: solid 1px #000;
     width:695px;
--->background-color:#003333;<--- ADDED
}

You solve problem #1.

The margin-left isn't needed for #CntMainText because it'll butt up 
against the menu if they're both floated left. Be sure to clear the footer:
#CntFooter {
     ...other styles...
     clear: both;
}

To make sure it sits underneath them both.

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to