Aaron Posted April 6, 2012 Report Share Posted April 6, 2012 I want a strip of blue in my footer, but the strip always goes under my banner. Here's the code: CSS: #footerbar { height:10px; width: 760px; background-color: #4A6C90; } #footer { position: bottom; float: bottom; width: 760px;} TPL: ?> </div> <div id="footer"> <div id="footerbar"> </div> <br /> <br /> copyright © 2007 - <?php echo date('Y') ?> - <?php echo SITE_NAME; ?><br /> <!-- Please retain this!! It's part of the phpVMS license. You must display a "powered by phpVMS" somewhere on your page. Thanks! --> <a href="http://www.phpvms.net" target="_blank">powered by phpVMS</a></p> </div> </div> <br clear="all" /> </div> </body> </html> Quote Link to comment Share on other sites More sharing options...
Strider Posted April 6, 2012 Report Share Posted April 6, 2012 You have most likely an unclosed div tag, also try putting clear:both in the styles for the footer Quote Link to comment Share on other sites More sharing options...
Aaron Posted April 7, 2012 Author Report Share Posted April 7, 2012 the clear:both worked thanks 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.