solarisuser Posted April 6, 2007 Share Posted April 6, 2007 Hi All, I have a footer in CSS that works almost perfectly. I can't figure out what I need to do to get a line below the text like it currently has above the text. <style type="text/css"> #footer { clear: both; width: 98%; margin: 10px; text-align: center; font-family: Verdana; font-size: 11px; padding: 3px; border-top: 2px solid red; color: #000; } #footer .left { float: left; text-align: left; } #footer .right { float: right; text-align: right; } </style> <div id="footer"> <span class=left> test1</span><span class=righttest2</span> </div> Thanks for any help! Link to comment https://forums.phpfreaks.com/topic/45825-solved-need-help-with-footer/ Share on other sites More sharing options...
AndyB Posted April 6, 2007 Share Posted April 6, 2007 border-top: 2px solid red; border-bottom: 2px solid red; Link to comment https://forums.phpfreaks.com/topic/45825-solved-need-help-with-footer/#findComment-222649 Share on other sites More sharing options...
solarisuser Posted April 6, 2007 Author Share Posted April 6, 2007 It works, when I put in a <span </span> before </div>, go figure! Thanks Link to comment https://forums.phpfreaks.com/topic/45825-solved-need-help-with-footer/#findComment-222660 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.