...

View Full Version : Why does my links element not sit inside the wrapper?



noneforit
04-24-2011, 09:26 PM
Hello

I have a #wrapper element which will effectively hold all the main content of the site

I have created some links down the left but they seem to sit below to bottom of the wrapper

I assumed the wrapper (with its height set to 100%) would simply expand as more elements were added below the header?
I don't want to give the wrapper element a static height as it needs to dynamically expand

link to live site is:

www.r66pug.com

Thanks

Laurie

oesxyl
04-24-2011, 10:11 PM
try:


#wrapper {
overflow: auto;
}


or add after the div with links another div:


<div style="clear: both;"></div>


best regards

noneforit
04-24-2011, 11:18 PM
Thanks worked great

Just getting back into coding after a while out so forgot about the Clear:Both :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum