2013-05-07 136 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; 
} 

编辑: 如果在其他页面上的冲突,让我知道,我来帮你吧。干杯!