【发布时间】:2011-05-27 09:37:09
【问题描述】:
我很难弄清楚为什么 IE7 会为此页面添加额外的填充!
这就是 IE7 正在做的事情: http://imgur.com/lwyRI.png
正确的页面将三个黑色标签连接到上图。 这就是它的外观:也存储在 imgur: 64qbf.png (我只允许一个链接)
页面链接可以在img中找到。 (再次,我只能发布一个链接)
请帮忙!
css代码:
<style type="text/css">
#background{
background-image: url(/images/store/vaporIronBK.jpg);
background-repeat:no-repeat;
height:auto;
width:665px;
margin-top:125px;
margin-left:228px;
padding-top:5px;
font-size:15px;
}
#background a {
color: #ffffff;
text-decoration: none;
}
#background a:hover {
color: #de156d;
}
#videoLinks {
margin-top:52px;
height: 100px;
}
#buy{
width:400px;
float:left;
clear:both;
padding-left:235px;
color:#000000;
}
#video {
float: right;
left: 683px;
margin-left: 35px;
margin-top: 166px;
width: 200px;
color: #000000;
}
#video a {
text-decoration: none;
color: #000000;
}
#video a:hover {
color: #de156d;
}
#footnotes {
color:#ffffff;
margin-top: 37px;
}
#bottom-text {
margin-left:40px;
margin-top:445px;
width:575px;
}
#bottom-text a {
color: #de156d;
text-decoration: none;
}
#bottom-text a:hover {
color: #000000;
}
#bottom-text p {
text-align: justify;
}
#bottom-text h2 {
font-size: 25px;
color: #000000;
padding-bottom: 10px;
}
#bottom-text h3 {
padding-bottom: 5px;
}
#bottom-text p {
padding-bottom: 20px;
}
#bottom-text .header-text {
padding-bottom: 25px;
}
#bottom-text p.taylor-image {
text-align: center;
}
.tabs {
height: 30px;
width: 180px;
float: left;
margin-left: 30px;
padding-top: 10px;
}
</style>
【问题讨论】:
-
你需要包含一些示例代码/css/一些东西。我们无法从静态图像中调试...
-
如果没有实际的代码就很难说。至少为页面的该部分添加 CSS/属性定义怎么样?或者您使用的是所见即所得的编辑器并且不知道实际的 HTML/CSS?
-
请张贴一些 html 和 css。有了这个,它就像一个算命先生
-
什么是JS错误?会不会跟这个有关系?
-
讽刺的是,他关于 css 的帖子需要一些 css 调整...
标签: html css internet-explorer internet-explorer-7