Hello,

I have a centred container 


#container {
width:800px;
background-color:#3300FF;
margin-left:auto;
margin-right:auto;
position:relative;
float:none;
}


I have all my content in here but I also want a footer locked on to the bottom.


#footer {
position:absolute;
bottom:0;
height:10px;
background-color:#00CCFF;
border:1px red solid;
width:100%;
text-align:center;
}

This is fine when the parent (#container) div is floated but to centre it it 
needs to be float:none.


Is there a way around this problem other than to add a floated div inside the 
#container? Just seems a bit messy to add an extra div for this explicit 
purpose. 


R.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to