Element grow in relation to other element?
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 posted this at 01:34 — 31st August 2004.
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"> </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 posted this at 01:44 — 31st August 2004.
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!
IanD posted this at 02:22 — 31st August 2004.
They have: 222 posts
Joined: Sep 1999
That worked. Thanks
KarenArt posted this at 12:12 — 31st August 2004.
She has: 354 posts
Joined: May 2001
You're very welcome!
...and thank you for the thanks.
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.