开发者

Page width larger than any elements on the page?

Hey everyone, working on a site at the moment.

http://www.creativefireplaces.co.uk/fireplaces/marble-fire-surrounds/sheridan-marble-fire-surround.html

If you go to that page you will see that there is a horizontal scroll bar. I have tried to find the div responsible. (i'm aware the search bar pokes out) But looking in the co开发者_Python百科de I cant work out what is making the pages so large.


<div class="product-custom-right-col" style="">

.product-custom-right-col { float: right; width: 420px; }

The absolute width of 420 px and float right is causing the issue.


add overflow-x: hidden; to div class middle-container :)


Check your background image (the vertical stripes). It is too wide. Look at http://www.creativefireplaces.co.uk/skin/frontend/creative/default/images/main_bg.gif it overflows the browser horizontally.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜