<Br> or <p> iti doubt its possible in Css
<Br> or <p> iti doubt its possible in Css
Find:
Replace:Code:#box { width: 600px; background-color: #ffffff; margin-right: auto; margin-left: auto; margin-top: 0px; margin-bottom: 0px; min-height: 600px; }
Should work if not i will repost a better code but this is the most effectiveCode:#box { margin: 0px auto 0px; min-height: 600px; /* NON IE 6 */ width: 600px; position: relative; background: #FFFFFF; } * html #box { height: 600px; /* IE 6 ACCEPTS THIS AS MIN HEIGHT */ }!
If its doesnt just add bottom: 0; to the #box then if that dont work i will post a tacky code that works
So you can actually do that via css thanks sygon thats helped me learn a little more too +rep![]()
Crappy way is:
(This is just a box not your box wewt)
To center a absolute position its:Code:body { background: #000000; height: 100%; min-height: 100%; margin: 0; } #box { height: 100%; bottom: 0px; position: absolute; width: 600px; background: #FFFFFF; }
Code:float: left; margin-left: -300px; /* HALF OF WIDTH WHICH IS 600 */
Yes it does. If he wants the box to go the full height of the page.
(View in IE, its a IE fix):
http://www.usersystem.net/stretch_example.html
http://www.usersystem.net/stretch_example_fixed.html
Last edited by Tomm; 09-09-2007 at 08:20 PM.
Want to hide these adverts? Register an account for free!