Html 背景重复-x在Tumblr主题上搞砸了
我刚刚在标题标签中添加了带有背景的标题文本,顶部的背景图像非常不稳定。有什么我能解决的吗 这是我现在为正文和标题准备的cssHtml 背景重复-x在Tumblr主题上搞砸了,html,css,tumblr,Html,Css,Tumblr,我刚刚在标题标签中添加了带有背景的标题文本,顶部的背景图像非常不稳定。有什么我能解决的吗 这是我现在为正文和标题准备的css html, body { font-family: Georgia, "Times New Roman", Times, serif; font-size: 12px; color: #351F14; background-color: #E6D0A1; background-image: url('http://static.tumblr.com/pvgoybd/UE
html, body {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 12px;
color: #351F14;
background-color: #E6D0A1;
background-image: url('http://static.tumblr.com/pvgoybd/UEfmk0nj3/background_02.png');
background-repeat: repeat-x;
}
#masthead {
max-width: 1400px;
min-height: auto;
position: relative;
bottom: 8px;
left: 82px;
}
#masthead h1 {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 48px;
color: #F2EBD9;
font-weight: bold;
background-color: #4F3117;
max-width: 401px;
min-height: 62px;
padding-left: 30px;
margin-left: 30px;
position: relative;
bottom: 7px;
}
有什么我需要改进的吗?您已经将背景设置为html和body,这样您可以看到它两次。如何?请详细说明。把图像放在头部?为什么它在正文中,它没有意义你想要这样的东西你真的应该为标题和东西有单独的div,如btevfik所示,正文通常指所有可查看的html代码。