我正在尝试将我的博客标题提高一点。如果您查看我的博客,将会发现标题和副标题太低了。

http://www.melissavenable.blogspot.com

标题(已婚的小太太)应该位于粉色线条上方的绿松石区域中,而副标题(某些内容...)应该位于粉色线条下方,但仍位于现在的上方。建议我把这个

.descriptionwrapper {padding-bottom: 50px;}


或这个

.descriptionwrapper {margin-bottom: 50px;}


在上面说的HTML代码中,但这没有用。还有其他想法吗?

谢谢!
梅丽莎

最佳答案

您需要删除

padding: 60px 0 0;


以您的#header h1样式。

应该看起来像:

#header h1 {
    margin:5px 5px 0px 20px;
    line-height:1.2em;
    text-align:left;
    text-transform:uppercase;
    letter-spacing:.2em;
    font: normal normal 220% 'Times New Roman', Times, FreeSerif, serif;;
}

关于css - 尝试上移我的博客标题,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/3327040/

10-14 16:16
查看更多