http://www.error-esport.pl/index.php?site=news
Może mi ktoś powiedzieć dlaczego tło (images/con_bg.jpg) ustawione w divie #content nie powtarza się za divem news?
<!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" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" /> <link rel="stylesheet" href="_style.css" type="text/css" /> <link rel="stylesheet" href="_imagebox.css" type="text/css" /> </head> <body> <script type="text/javascript"> $.fn.corner.defaults.useNative = false; $(document).ready(function(){ $(".header").corner("bevelfold tr 15px"); $(".login").corner("bevelfold tr 15px"); }); </script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-12462415-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <div id="container"> <div class="menu"> <img style="float: left;" src="images/nav_left.gif" alt="" /> <ul class="idTabs"> <img style="float: right;" src="images/nav_right.gif" alt="" /> </ul> </div> <div class="submenu"> <div id="idTab1"> </div> <div id="idTab2"> </div> <div id="idTab3"> </div> </div> <div id="content"> <div class="left"> <div style="width: 600px;"> <br /> President Lech Kaczynski, 60, his wife Maria, an economist, and 95 others died on their way to commemorate the massacre of 22,000 Polish prisoners at Katyn in 1940 by Stalin?s secret police.<br /> <br /> Instead of diverting, as advised, the pilot of the 20- year-old plane tried and failed to land at least once, before clipping trees and plunging into a forest.<br /> <br /> Air traffic controllers watched their screens with growing unease as the Soviet-era Tupolev descended into the fog that hung like a shroud over the military airfield at Smolensk in western Russia</div> <div style="text-align: right"><a href="#" onclick="MM_goToURL('parent','news.php?quickactiontype=unpublish&newsID=1');return document.MM_returnValue;"><img src="images/icons/news/hide.gif" alt="Ukryj"/></a> <a href="#" onclick="MM_openBrWindow('news.php?action=edit&newsID=1','News','toolbar=no,status=no,scrollbars=yes,width=800,height=600');"><img src="images/icons/news/edit.gif" alt="edytuj"/></a> </div> <input type="button" onclick="MM_openBrWindow('news.php?action=new','News','toolbar=no,status=no,scrollbars=yes,width=800,height=600');" value="Napisz" /> <input type="button" onclick="MM_goToURL('parent','index.php?site=news&action=unpublished');return document.MM_returnValue;" value="1 Nieopublikowny" /> <input type="button" onclick="MM_goToURL('parent','index.php?site=news&action=archive');return document.MM_returnValue;" value="Archiwum" /></div><div class="right"><div class="login"> <div style="float: left; with: 70px;"> <div style="float: left"> </div> <div style="float: left"> </div> </div> <br> </div> </div> <div class="end"> <img style="float: left;" src="images/end_left.gif" alt="" /> <img style="float: right;" src="images/end_right.gif" alt="" /> </div> </div> </div> </body> </html>
html, body { margin: 0px; padding: 0px; font: 12px Verdana, Arial, Tahoma, Helvetica, sans-serif; background-image: url('images/bg.gif'); background-color: #000000; } img { border: 0px; } a { color: #81090A; text-decoration: none; } .header { width: 580px; height: 20px; background-image: url('images/bg2.gif'); background-color: #000000; padding: 10px; } .header a { color: #FFFFFF; vertical-align: top; font: bold 16px Georgia, Times New Roman, Times, serif; } .newscontent { margin-top: 5px; padding: 5px; border: 1px solid #7A7A7A; } .forum td { border: 1px solid #81090A; } td.title { color: #FFFFFF; } #container { position: relative; width: 980px; background-color:#FFFFFF; text-align: left; clear: both; margin-left: auto; margin-right: auto; margin-top: 0px; margin-bottom: 0px; } .login { background-image: url('images/bg2.gif'); background-color: #000000; color: #FFFFFF; height: 60px; vertical-align: middle; } .login img { height: 45px; width: 45px; border-color: #81090A; border-style: solid; border-width: 1px; margin: 5px; } .login input { border-color: #81090A; background-color: #FFFFFF; border-style: solid; } .login a { font-size: 9px; color: #FFFFFF; } .menu { background-image: url('images/nav_bg.gif'); height: 37px; width: 980px; margin-top: -20px; } .menu li { list-style: none; float: left; } .menu ul a { height: 25px; width: 82px; display: block; font-weight: bold; font-size: 12px; text-decoration: none; color: #FFFFFF; text-align: center; padding-top: 12px; } .menu ul a:hover { color: #FFFFFF; } .menu ul a.selected { color: #000000; background-image: url('images/nav_tab.gif'); cursor: default; } .submenu { background-image: url('images/con_bg.jpg'); color: #7A7A7A; height: 20px; width: 920px; padding-left: 30px; padding-right: 30px; } .submenu a { color: #000000; text-decoration: none; font-size: 12px; } #content { width: 930px; padding-left: 25px; padding-right: 25px; background-image: url('images/con_bg.jpg'); } .left { float: left; width: 600px; } .right { float: right; width: 320px; } .end { background-image: url('images/end_bg.gif'); clear: both; height: 20px; width: 980px; } .bottom { padding-top: 25px; padding-right: 30px; color: #FFFFFF; text-align: right; height: 25px; width: 950px; background-image: url('images/bottom.jpg'); } .bottom a { color: #FFFFFF; }