Theres something I can't figure out... How do you get a div to span the entire page in height?
Div Height
Started by BradyValentino, Apr 03 2007 10:24 PM
4 replies to this topic
#1
Posted 03 April 2007 - 10:24 PM
#2
Posted 03 April 2007 - 10:34 PM
<style type="text/css">
<!--
body, html {
margin: 0;
padding: 0;
height: 100%;
}
#wrapper {
background-color: #000;
width: 100%;
height: 100%;
}
-->
</style>
<body>
<div id="wrapper"> </div>
</body>
#3
Posted 03 April 2007 - 11:55 PM
[quote name='SpatialVisionary' post='210092' date='Apr 3 2007, 08:34 PM']
Would I change it to
?
Would I change it to
?
#4
Posted 04 April 2007 - 07:58 AM
body, html {
margin: 0;
padding: 0;
height: 100%;
}you can't forget about this, that's the key component.
#5
Posted 04 April 2007 - 05:23 PM
This is a frequently asked question. Please use the forum search or google.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
