Element grow in relation to other element?

They have: 222 posts

Joined: Sep 1999

http://home.woh.rr.com/drimages/temp/index.html

Is there a way to get the height of the navigation div to grow in relation to the height of the content div?

As a workaround, I've tried setting the background of the div containing the navbar and content elements to white, but that only works in IE for some reason.

Thanks,
Ian

KarenArt's picture

She has: 354 posts

Joined: May 2001

If you're just trying to make sure the background around your content and nav is white try this...

Add in your css:

#outsideContainer
{
width: 752px;
margin: 0px auto 0px auto;
background: #fff;
}

.clear
{
margin: 0;
padding: 0;
width: 0px;
height: 0px;
clear: both;
}
'

Add in your html code right before
<div class="clear">&nbsp;</div>'

Hopefully that should get it for you.

gotta finish redesigning my sites so I can show them again.

The purpose of education is... to get more jokes!

KarenArt's picture

She has: 354 posts

Joined: May 2001

Ooops my bad.
What I ment to say was put the div class=clear right before

Sorry 'bout that!

They have: 222 posts

Joined: Sep 1999

That worked. Thanks Smiling

KarenArt's picture

She has: 354 posts

Joined: May 2001

You're very welcome!
...and thank you for the thanks. Laughing out loud

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.