...

View Full Version : Resolved div moving down on resize



cinek
10-23-2010, 05:11 PM
I have a menu on the left, and a main div on the right. If I resize the window enough, the main div jumps down. Any ideas how to fix this?
here's the css


@charset "utf-8";
/* CSS Document */

body {font-family: Arial, Helvetica, sans-serif;}

/* Container */
#container {max-width: 1000px; height: 850px; margin: auto;}

/* Header */
#header {max-width: 1000px; height: 50px; clear: both; background-color: #09F; color: #FFF;}
#header h2 {font-size: 24px; text-align: center;}

/* Menu */
#menu {max-width: 300px; height: 850px; float: left; background: #0CF;}
#menu span.category1, #menu span.category2, #menu span.category3 { height: 30px; width: 300px; float: left; background: green; border: 1px solid white; text-align: center;}
#menu #vega, #menu #cat2, #menu #cat3 {display: none;}

/* Main */
#main {height: 850px; width: 700px; float: left; background-color: #06F;}

/* Footer */
#footer {max-width: 1000px; height: 50px; clear: both; background-color: #0CF;}
#footer abbr, #footer img {border: 0 none; float: right; margin: 5px 10px;}

edit: fixed it

abduraooft
10-23-2010, 05:16 PM
I have a menu on the left Can we have a link?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum