r3dsoldier
New Member
Why is it that the content div stretches to include the menu nav in this fiddle? http://jsfiddle.net/kePCS/If I remove the float property on nav it doesn't. Since the nav width is set to 100% it still seems to be the same size when i inspect it.I have to have it floated afaik. It's an integral part of this menu that im using http://matthewjamestaylor.com/blog/beautiful-css-centered-menus-no-hacks-full-cross-browser-supportBut i still don't want the nav to sit on top of content that should be below. Do you know any workaround? I wouldn't mind an explanation as to why this happens either. I thought since they were both 100% width they wouldn't overlap. Obviously i was wrong. Thanks!Won't let me post without code, but the fiddle will be easier to understand.\[code\]#menu {float:left;width:100%;}#content{width:100%;background-color:#5FC0CE;}?\[/code\]