Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/372.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 搜索结果页面破坏背景_Javascript_Css_Search_Overflow_Contain - Fatal编程技术网

Javascript 搜索结果页面破坏背景

Javascript 搜索结果页面破坏背景,javascript,css,search,overflow,contain,Javascript,Css,Search,Overflow,Contain,这是原址。usahvacsupply.com一旦你搜索了一个项目,搜索结果就会占据整个页面并消除背景。我不知道如何控制溢出。现场溢流失控的部分是。如果需要,我会发布更多代码。底部的代码与页面对应。任何帮助都将不胜感激 <table id="body" width="960" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="100%"> <script

这是原址。usahvacsupply.com一旦你搜索了一个项目,搜索结果就会占据整个页面并消除背景。我不知道如何控制溢出。现场溢流失控的部分是。如果需要,我会发布更多代码。底部的代码与页面对应。任何帮助都将不胜感激

  <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>

如果(!createBookmark){
var createBookmark=函数(){
if(window.sidebar)//Mozilla Firefox书签
window.sidebar.addPanel(document.title,location.href.);
else if(window.external)//IE收藏夹
window.external.AddFavorite(location.href,document.title);
其他//
警告(“请按CTRL+D将此页面添加为书签。”);
};
}
前列腺变位;
如果(!ProStores)
前列腺={};
ProStores.PageLink=函数(链接){
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);
其他的
link.href=strThis+'&'+strParams;
}
其他的
link.href=strThis+'?'+strParams;
};
搜索结果

建立
1000
产品
全部的
(1-25/1000)

Breakers | Bryant Carrier Payne昼夜酒店
我可以看出,您的问题不再出现,但当您搜索不存在的产品时。您的div.footerBorder在左侧背景上浮动。通过应用以下方法解决此问题:

margin-left: 10px;
给你

/servlet/0-0-30d-13e0e1158d0-legacycss/Asset 在第240行“.footerBorder”中,将整个规则替换为:

编辑: 如果在其他页面上出现冲突,请告诉我,我会帮助您解决。干杯

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