原帖由 wshsky 于 2008-3-11 20:27 发表
把调用资讯的语句替换现在频道的语句就可以了,照着修改就可以了!
按你说的,成功调用了,可每个栏目显示3个字,我的标题是四个字,应该怎样调整啊??
我想是调css,将间踞调大些,请高手指点一下!
/*页首*/
#header{background: #ffffff;border-bottom:1px solid #1C8CB1;}
#headertab{border:none;}
#topmenu { background: url(../images/topmenu_bg.gif) repeat-x; height:30px; border:1px solid #0080B0; border-width:0 1px;}
#topmenu div{ margin-left:15px;}
#topmenu a { float:left; width: 50px; height: 30px; text-align: center; text-decoration: none; font-size:14px; font-weight:bold; color: #FFFFFF; line-height:2.2em; overflow: hidden; }
#topmenu a:hover { background: url(../images/topmenu_abg.gif);}
#newsmenu a.news, #blogmenu a.blog, #imagemenu a.image, #goodsmenu a.goods, #videomenu a.video, #filemenu a.file, #linkmenu a.link, #groupmenu a.group, #bbsmenu a.bbs { background: url(../images/topmenu_abg.gif); }
#topmenu a.bbs {
float: right;
background: url(../images/topmenu_bbsbg.gif);
text-indent: -2100px;width:80px; |