开发者

Page width larger than any elements on the page?

开发者 https://www.devze.com 2023-02-07 20:12 出处:网络
Hey everyone, working on a site at the moment. http://www.creativefireplaces.co.uk/fireplaces/marble-fire-surrounds/sheridan-marble-fire-surround.html

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

精彩评论

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