ShootingBlanks Posted December 4, 2008 Share Posted December 4, 2008 Hello. I'm having an impossible time trying to get my page to behave properly. First, here's a link to the testing site: http://www.tromadance.com/hoffman_test/index.php The black left/right borders are supposed to go down to the bottom of the page (as long or short as that may be, depending on the content). Whichever is longer between the left side content or the right side content should be in charge of "stretching" the page. There is also a footer that should remain at the bottom, which is not even being shown... I added borders to some of the divs to try to see what was going on. It looks like a mess, but I'm not sure what i am doing wrong!... Here is the CSS, followed by the HTML... CSS: /* CSS Document */ html, body { background-color: #8A1410; font-family: Geneva, Arial, Helvetica, sans-serif; padding: 0; margin: 0; color: #000; height: 100%; } p { font-size: .8em; } #container { background: #EC1D25; width: 800px; margin: auto; padding: 0px; text-align: left; border-left: 2px solid #000; border-right: 2px solid #000; overflow: hidden; height: 100%; } #header { background-color: #EC1D25; width: 800px; height: 177px; background: url(../images/header_top.jpg) top center no-repeat; margin-bottom: 0px; padding-bottom: 0px; margin-top: 0px; } #nav { background-color: #000; color: #FFF; text-align: center; width: 100%; height: 50px; } #nav p { margin-top: 30px; } #sidebar { background-color: #EC1D25; width: 270px; min-height: 86px; float: left; margin-top: 20px; text-align: center; margin-left: 10px; border: 1px solid #999; } #donate { background-color: #000; width: 270px; height: 500px; } #maincontent { background-color: #7AD3F7; margin-top: 20px; margin-right: 10px; height: 100%; width: 500px; float: right; border: 1px solid #66F; } #spacer { clear: both; border: 1px solid #FF0; } #footer { font-size: .7em; text-align: center; height: 20px; margin-top: 10px; } HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>TROMADANCE!</title> <link href="includes/styles.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="container"> <div id="header"></div> <div id="nav"><?php include("includes/nav.php") ?></div> <div id="sidebar"> <object width="270" height="215"><param name="movie" value="http://www.youtube.com/v/zQR7sDpGegw&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/zQR7sDpGegw&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="270" height="215"></embed> </object> Tromadance 10th Anniversary PSA <p> <div id="donate"> </div> </p><br /> <p>asdsadsa</p> </div> <div id="maincontent"> <p>SAMPLE TEXT</p> </div> <div id="spacer"></div> <div id="footer"><?php include("includes/footer.php") ?></div> </div> </body> </html> Thank you in advance for any help that can be offered!!!... Quote Link to comment Share on other sites More sharing options...
haku Posted December 4, 2008 Share Posted December 4, 2008 Faux Columns Quote Link to comment Share on other sites More sharing options...
ShootingBlanks Posted December 4, 2008 Author Share Posted December 4, 2008 Faux Columns Thanks for the lead - I got it all fixed! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.