开发者

getting a horizontal scroll bar even 100% width

开发者 https://www.devze.com 2023-04-04 05:45 出处:网络
I\'ve searched a lot and tryied lot of things but i couldn\'t fixed the problem. I am getting an horizontal scroll bar even all my elements have 100% wi开发者_Python百科dth\'s and no padding.

I've searched a lot and tryied lot of things but i couldn't fixed the problem.

I am getting an horizontal scroll bar even all my elements have 100% wi开发者_Python百科dth's and no padding.

Please help me to get rid of it, her is the link.


I think you can find the reason of your error by yourself when I paste the part of your CSS code:

 #menu {
  margin-left: 200px;
  width: 100%;
  height: 120px;
 }

my advice to correct the error would be to create another element inside #div (usually for menu the unordered list - ul - is used) and set margin to it

0

精彩评论

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