http://img81.imageshack.us/img81/4619/12312312312312312312312cp0.jpg)
no-repeat;}

#userActions li a{ /*用户状态文字颜色*/
color: #FFD700;
}

#userActions li a:hover{
color: #FFD700;
}

.more a,.author a,.boxcont a,.edit a{
color:#FFD700;
}

#sidebar {display:none;}

/*隐藏版块*/
#logo, #tagline, #copyrightlink, .announcement, #userBlog
.more,#utility,#permalink, #sidebar, #reportlink, #footer p
{display:none}

/*去边框*/
#widebar, #userStatus, #content h3, #userBlog .info, #giftBox .sub-h3 , #talk .info,#content {border:0;}

/*使透明*/
#widebar, #userStatus, #content h3, #userBlog .info, #giftBox .sub-
h3 , #talk .info{background:transparent;}

请在上边修改添加一下,谢谢啦!"/>

如何将校内网字体框架拉伸?

发布时间:2024-05-10 23:16 发布:上海旅游网

问题描述:

我说的意思是想将首页菜单栏下面的所有文字和头顶图片居中对齐.

因为我隐藏了校内的LOGO小版块,所以文字框架整体偏右.

如何将其拉伸与头顶的图片对齐?

这是我的CSS代码:

/*改字体*/
<style typetext/css> <!-- A:link{COLOR: #FFD700;FONT-SIZE:10pt;FONT-FAMILY: [宋体};A:visited{COLOR: #FFD700;FONT-SIZE:10pt;FONT-FAMILY:宋体};A:active{COLOR: #FFD700;FONT-SIZE:12pt;FONT-FAMILY: 宋体};A:hover{COLOR: #FFD700};body{COLOR:#FFD700;FONT-SIZE:10pt; FONT-WEIGHT:normal;FONT-FAMILY:宋体} --></style>

/*头部图片设置*/
#container{
margin:0 auto;
padding:0;
width:800px;}

/*头部设置*/
#header {height:400px;background:url(http://img81.imageshack.us/img81/4619/12312312312312312312312cp0.jpg)
no-repeat;}

#userActions li a{ /*用户状态文字颜色*/
color: #FFD700;
}

#userActions li a:hover{
color: #FFD700;
}

.more a,.author a,.boxcont a,.edit a{
color:#FFD700;
}

#sidebar {display:none;}

/*隐藏版块*/
#logo, #tagline, #copyrightlink, .announcement, #userBlog
.more,#utility,#permalink, #sidebar, #reportlink, #footer p
{display:none}

/*去边框*/
#widebar, #userStatus, #content h3, #userBlog .info, #giftBox .sub-h3 , #talk .info,#content {border:0;}

/*使透明*/
#widebar, #userStatus, #content h3, #userBlog .info, #giftBox .sub-
h3 , #talk .info{background:transparent;}

请在上边修改添加一下,谢谢啦!

问题解答:

如何将校内网字体框架拉伸?这个旅游问答期待您的解答,请登录账号或关注微信公众号回答这个问题。

热点新闻