Deanznet Posted February 19, 2011 Share Posted February 19, 2011 How do i make it stay in the center of the page!?!@ #header{ margin:0 auto; left:-12.9%; position:relative; text-align:left; width:696px; background:#00000; margin-bottom:0em; } Quote Link to comment https://forums.phpfreaks.com/topic/228233-div-keeps-moving-when-i-change-screen-size/ Share on other sites More sharing options...
cssfreakie Posted February 20, 2011 Share Posted February 20, 2011 well you have quite some properties that are not neeed or get overwritten. try this #centerdic{ width:696px; min-heigth:300px; margin: 0 auto; } Quote Link to comment https://forums.phpfreaks.com/topic/228233-div-keeps-moving-when-i-change-screen-size/#findComment-1177202 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.