Jump to content

Css Frame Ie7


dave@bones.co.za

Recommended Posts

I have 2 div's the top should remaim as would a frame set and the second scroll beneath it, this works perfectly in firefox but not in ie 7??Is there any reason for this?DaveThis is my style that controls he div's.../* Absolute positioned header for all browsers*/#header-wrapper { position:absolute; top:0; left:0; width:100%; align:centre; height:6em;}/* Reset header position to fixed for real browsers such as Firefox*/body>#header-wrapper { position:fixed;}#header { height:6em; width:100%; margin:0 auto;}#content-wrapper { padding:6em 0 0 0; margin-left:0; voice-family: "\"}\""; voice-family:inherit; margin-left:0; padding-bottom:60px;}body>#content-wrapper { margin-left:0;}#content { width:720px; margin:0 auto;}#content-wrapper2 { padding:7em 0 0 0; margin-left:0; voice-family: "\"}\""; voice-family:inherit; margin-left:0; padding-bottom:60px;}body>#content-wrapper2 { margin-left:0;}#footer-wrapper { width:100%; position:absolute; bottom:0; left:0; height:60px;}body>#footer-wrapper { position:fixed;}#footer { width:720px; height:60px; margin:0 auto;}

Link to comment
Share on other sites

I don't know exactly what you're asking for.There's no point in assigning 100% width to a <div> element, because blocks take the full width of their containers by default.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...