Guest Posted September 19, 2012 Share Posted September 19, 2012 Hi Everyone, The content of my website is going beyond the <section> border. I tried expanding my CSS section width but it doesn't want to work. What am I doing wrong? Thanks! http://whatsmyowncarworth.com/classTemplate/sales.php @charset "UTF-8"; /* CSS Document */ body{ background-color:#000; text-align:center; font-family:"Century Gothic",Verdana, Geneva, sans-serif; color:#555; } #container{ width:950px; margin:35px auto; background-color:#fff; } header{ padding:15px; width:950px; } nav{ height:50px; width:100%; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; } nav ul{ margin:13px; padding:0px; } nav ul li{ display:inline; list-style-type:none; margin:15px 45px; } nav ul li a { text-decoration:none; color:#800000; padding:15px; } nav ul li a:hover{ background-color:#ccc; } section{ min-height:650px; min-width:700px; } footer{ } Link to comment https://forums.phpfreaks.com/topic/268578-content-block-is-going-beyond/ Share on other sites More sharing options...
floridaflatlander Posted September 19, 2012 Share Posted September 19, 2012 http://validator.w3.org/ said Line 172, Column 10: Stray end tag section and more. What ever that means. I've never seen anyone use sections, divs yes, section no. Link to comment https://forums.phpfreaks.com/topic/268578-content-block-is-going-beyond/#findComment-1379443 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.