2013-05-07 208 views
0

這是原來的網站。 usahvacsupply.com一旦你搜索一個項目,搜索結果將接管整個頁面並殺死背景。我不知道如何控制溢出。溢出出現故障的網站部分是http://www.usahvacsupply.com/servlet/Categories。如果需要,我會發布更多代碼。底部的代碼對應http://www.usahvacsupply.com/servlet/Categories頁面。任何幫助,將不勝感激。搜索結果頁面破壞背景

<table id="body" width="960" cellspacing="0" cellpadding="0" border="0"> 
<tbody> 
<tr> 
<td width="100%"> 
<script type="text/javascript"> 
if (!createBookmark) { 
var createBookmark = function() { 
if (window.sidebar) // Mozilla Firefox Bookmark 
window.sidebar.addPanel(document.title, location.href, ''); 
else if (window.external) // IE Favorite 
window.external.AddFavorite(location.href, document.title); 
else // all others 
alert("Please press CTRL+D to bookmark this page."); 
}; 
} 
</script> 
<table id="layout" class="panel-layout" width="100%" cellspacing="0" cellpadding="0" border="0" rules="none"> 
<tbody> 
<tr> 
<td id="p1" valign="top"> 
<script type="text/javascript"> 
var ProStores; 
if (!ProStores) 
ProStores = {}; 
ProStores.PageLink = function(link) { 
var strParams = 's=' + link.getAttribute('page'); 
var strThis = location.href; 
if (strThis.indexOf('?') > -1) { 
if (strThis.search(/s=[0-9]+/) > -1) 
link.href = strThis.replace(/s=[0-9]+/, strParams); 
else 
link.href = strThis + '&' + strParams; 
} 
else 
link.href = strThis + '?' + strParams; 
}; 
</script> 
<link href="/servlet/0-3-30d-727500-com.prostores.panel.List%7Estyle.css/Asset" title="style" type="text/css" rel="stylesheet"> 
<style type="text/css"> 
<table id="cataloglist.31" class="list-boundary" width="100%" cellspacing="0" cellpadding="0" border="0" rules="none"> 
<tbody> 
<tr> 
<td> 
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center" rules="none"> 
<tbody> 
<tr> 
<td valign="top" align="left" colspan="1"> 
<h1 align="left">Search Results</h1> 
<div class="" align="left" style="padding:2px"> 
<p> 
Found 
<b>1000</b> 
product(s) for 
<b>All</b> 
(1-25 of 1000) 
</p> 
</div> 
</td> 
</tr> 
<tr> 
<td valign="middle" colspan="1"> 
<div class="product-list-container"> 
<div class="top"> 
<div class="right"> 
<div class="left"></div> 
</div> 
</div> 
<div class="titlebar group-title"> 
<b> Breakers | Bryant Carrier Payne Day&Night </b> 
</div> 
<div class="panel-content"> 
<center> 
<table class="" width="100%" cellspacing="2" cellpadding="0" border="0"> 
<tbody> 
<tr> 
<td colspan="1" style="height:1px"></td> 
</tr> 
<tr> 
<td class="item-cell" width="100%" valign="bottom" height="100%" style="padding:8px"> 
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0" rules="none"> 
</td> 
</tr> 
<tr> 
</tbody> 
</table> 
</center> 
</div> 
<div class="bottom"> 
</div> 
</td> 
</tr> 
<tr> 
<tr> 
<tr> 
<tr> 
<tr> 
</tbody> 
</table> 
</td> 
</tr> 
</tbody> 
</table> 
</td> 
</tr> 
</tbody> 
</table> 
</td> 
</tr> 
</tbody> 
</table> 
</td> 
</tr> 
</tbody> 
</table> 
</body> 
</html> 

回答

0

我可以看到您的問題不再發生,但是當您搜索不存在的產品時。您的div.footerBorder會在背景左上方浮動。修正了通過應用:

margin-left: 10px; 

要將

/的servlet/0-0-30d-13e0e1158d0-legacycss /資產 裏面你對240行 「.footerBorder」,更換整個規則:

.footerBorder { 
    width: 960px; 
    min-height: 160px; 
    background: url("/images/store_version1/footer.gif") no-repeat; 
    margin-left: 10px; 
} 

編輯: 如果在其他頁面上的衝突,讓我知道,我來幫你吧。乾杯!