当我缩小时它向左移动,当我放大时它向右移动 这是我的代码:
.google {
position:absolute;
display:block;
right:200px;
width:728px;
top:90px;
border-left: 1px solid black;
}
我该如何解决这个问题?谢谢!
最佳答案
嘿,现在像这样给 body min-width
body{
min-width:1000px;
}
我看到你的布局我发现一些错误添加到你的样式表中的这个 css 并删除搜索表单的一些错误
如果你需要
.onethousand_wrap {
height: 30px;
margin: 0 auto;
overflow: hidden;
position: relative;
width: 1000px;
}
关于html - 当我放大和缩小时横幅左右移动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11925132/