我通过13英寸显示器的视角在Dreamweaver上设计了我的网站。我现在使用Screenfly对网站进行了测试,虽然背景在较低和较高的显示器尺寸上调整大小,但图像尺寸没有差异并且看起来像相对于背景的位置移动。文本的位置也会改变:/
我尝试了以下内容,但无济于事:
img {
max-width: 100%;
height: auto;
width: auto\9; /* ie8 */
}
我或许应该指出,如果这对解决方案来说意味着什么,那么它们大多数都在表格中。谢谢!
后台CSS:
body {
min-height:768px;
min-width:1229px;
background-image: url(images/background.png);
background-attachment: scroll;
background-repeat: no-repeat;
background-size: 100%;
}