我在我的网站上使用这个动画横幅。
现在我已经从教程中复制了确切的代码,但由于某种原因,在我的版本中,图像似乎被放置在表格的底部并被切断,而不是像示例中那样。我已经尝试了许多可能的解决方案,但要么我在错误的地方完成了它们,要么它们根本不起作用。
通常我会添加代码,但在这种情况下(您将从查看页面源代码中看到)发布时间太长。
任何帮助将不胜感激
Well, I just opened Chrome Inspector changed few css properties and it worked. Here they are...
.photobanner
{
height: 232px;
width: 984px;
}
#container2
{
width: 748px;
overflow: hidden;
margin: 50px auto;
background: white;
}
I guess this would work.Tested in chrome..try your self with other browser and you should reduce margin of <h1>
tag