Right, I'll probably look like an idiot but I just can't figure it out..
I want the div to be 100% of the page height but it just won't work
Any ideas?Code:<style type="text/css"> body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; background-image: url(bg.png); background-repeat: repeat-x; } #main { min-height: 100%; height: auto !important; height: 100%; width: 1000px; margin: 0 auto; background-color:#FFF; } </style> </head> <body> <div id="main"></div> </body>






Reply With Quote







