[英]CSS-Confusion: Website has a lot of blank space on right side
Can't seem to figure this out... 似乎无法弄清楚...
This website, http://dannyvola.com , has a lot of blank space on the right side. 该网站http://dannyvola.com右侧有很多空白。
I know its something small but I can't figure it out! 我知道它很小,但我无法弄清楚!
Your help is greatly appreciated. 非常感谢您的帮助。
Thank you. 谢谢。
The problem lies with the following css: 问题在于以下CSS:
#thumbnav {
list-style: none;
display: block;
margin: 4px 0 0 0;
width: 20000px; <-- HERE
padding: 0;
overflow: visible;
position: relative;
}
You are giving the element a width of 20000px which is pushing your layout out to the right. 您为元素提供了20000px的宽度,这会将布局向右推出。 A loooong way to the right!
向右走的路!
Try changing the width
to auto
. 尝试将
width
更改为auto
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.