Unwanted space at the right of the site

穿精又带淫゛_ 提交于 2019-12-13 02:54:24

问题


I've been building a site and I get a horizontal scrollbars and huge space to the right of the product pages. My first thought was an unclosed div, but I have validated with W3C and it checks out. I wonder if it's because of something (the buttons,tabs) that is relatively positioned. Would you please point me in the right direction. Any help is much appreciated.

Validation link with source

Page link

I'll post the image in the comment since I don't get enough reputation.


回答1:


There is a width: 100%; on #cssmenu ul ul

It's at line 342 in style.css?ver=3.6

This is causing your little issue. Remove it if you can.




回答2:


give to your #wrap div overflow-x: hidden. because some unknown child div has a very big width.



来源:https://stackoverflow.com/questions/18397547/unwanted-space-at-the-right-of-the-site

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!