由于某种原因,我的网页在 Firefox 14.0.1 版中无法正确显示。在 IE9、Safari、chrome 中正确显示。我的一个朋友也说他和我有同样的经历。
在 Firefox 中,如果我缩小或布局更改。但随后 YouTube 视频开始涂抹和像素化。我让一个朋友在他们的计算机上检查 Firefox,同样的事情发生了。
http://www.streetstyles4all.co.uk/images/screen_shot.jpg
左上角的屏幕截图显示了页面的加载方式。放大或缩小后显示右上角,上下滚动后显示左下角。
HTML:
有问题的部分的 HTML 是:
<div id="homewallcontainer">
<div id="homesidenavcontainer">
<script type="text/javascript" src="http://forms.aweber.com/form/23/850302323.js"></script>
</div>
<div id="newsletterblurb">
<p>
Learn everything you need to get yourself going in the world of street dance, tips, facts, what to wear, music, videos and more. Just fill in the form above - simple!
</p>
</div>
<div id="contentcontainerhome2">
<h1>Street Styles 4 All is the place to be for street dance! With classes, DVD's that are sold worlwide, dancers for hire, streetwear...find out why you should choose Street Styles 4 All:
</h1>
<div id="homess4atrailer">
<iframe width="466" height="302" src="http://www.youtube.com/embed/QyhgZ6I_DHo" frameborder="0" allowfullscreen></iframe>
</div>
</div>
</div>
CSS是:
#homewallcontainer {
background: url("images/wall.png") repeat scroll 0 0 transparent;
height: 542px;
margin-top: -1px;
width: 960px;
}
#homesidenavcontainer {
float: left;
margin-left: 41px;
margin-top: 110px;
width: 253px;
}
#homesidenavcontainer {
float: left;
margin-left: 41px;
margin-top: 110px;
width: 253px;
}
#contentcontainerhome2 {
float: right;
margin-right: 17px;
margin-top: 46px;
width: 528px;
}
#homess4atrailer {
margin-left: 56px;
padding: 38px 0 10px;
}