| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 784 人关注过本帖
标题:[求助]为什么字体无故变粗?
取消只看楼主 加入收藏
xiangmu
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2006-8-5
收藏
 问题点数:0 回复次数:0 
[求助]为什么字体无故变粗?

现在遇到一个很麻烦的问题,给人整的发晕.希望得到这里高手,帮忙指教.在下面将代码贴上,问题就是点击"供求信息"时,头部文件中,其他字体变粗.点击其他没事.
头部文件代码:
<script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<link href="../css/css.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="../css/css1.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE12 {font-size: 18px; font-family: "宋体"; }
.STYLE15 {color: #bc2a26}
.STYLE16 {font-size: 14px}
-->
</style>
<script src="../Scripts/AC_ActiveX.js" type="text/javascript"></script>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFEFF">
<tr>
<td width="490" height="95" valign="bottom" background="../images/bg2.gif" bgcolor="ececec"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td></td>
</tr>
<tr>
<td><div align="right">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td></td>
</tr>
</table>
<img src="../logo.jpg" width="150" height="54" vspace="6" /></div></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div align="center">&nbsp;餐饮行业权威门户</div></td>
</tr>
</table></td>
<td width="490" height="95" valign="top" background="../images/bg2.gif" style="padding-left:3px;padding-right:3px"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="95" valign="top" background="../images/bg2.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="490" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<form action="/sc_user/sc_cklogin.asp" method="post">
<td height="28" colspan="3" valign="bottom"><div align="center"> <% if session("useradmin")<>"" then
response.write"<b>欢迎<font color=red>"&session("useradmin")&"</font>光临三餐网 <a href=../sc_user/sc_main.asp> 会员中心</a></b>"
else
%>用户名:
<label>
<input name="user" type="text" id="user" size="10" />
密码:
<input name="pass" type="password" id="pass" size="10" />
<input type="submit" name="Submit" value="提交" />
<input type="submit" name="Submit2" value="重写" />
&nbsp;&nbsp; <a href="/sc_user/sc_zhuce.asp">注册</a>&nbsp;&nbsp;&nbsp; <a href="/sc_user/getpass.asp">忘记密码</a>&nbsp;&nbsp; </label>
<%end if%> </div></td>
</form>
</tr>
</table></td>
</tr>
<tr>
<td height="41" align="center" valign="bottom" style="padding-left:28px"><div id="topmenu">
<ul><li id="one" ><a
href="../index.asp?se=index" title="首页accesskey: b" class="STYLE12" accesskey="b" >首页</a></li>
<li id="two"><a
href="../news.asp?se=news" title="新闻accesskey: c" class="STYLE12" accesskey="c">新闻</a></li>
<li id="three"><a
href="../gq.asp?se=gq" title="供求信息accesskey: d" class="STYLE12" accesskey="d">供求信息</a></li>
<li id="four"><a
href="../meishi.asp?se=meishi" title="美食在线accesskey: e" class="STYLE12" accesskey="e">美食在线</a></li>
<li id="five"><a
href="../job.asp?se=rc" title="人才中心accesskey: f" class="STYLE12" accesskey="f">人才中心</a></li>
<li id="six"><a
href="../chat/chat.asp" title="美食沙龙accesskey: g" class="STYLE12" accesskey="g" target="_blank">美食沙龙</a></li>
</ul>
</div> </div>
</div> </td>
</tr>
<tr>
<td height="26" align="center" valign="bottom" ><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="14" class="bottom_bg1 STYLE15"><a href="gq.asp?gqlb_id=11">二手市场</a> <a href="gq.asp?gqlb_id=14">招租</a> <a href="gq.asp?gqlb_id=12">合作</a> <a href="gq.asp?gqlb_id=13">代理</a> <a href="gq.asp?gqlb_id=19">加盟</a> <a href="gq.asp?gqlb_id=16">运输</a> <a href="gq.asp?gqlb_id=15">仓储</a> <a href="../train.asp">培训</a> <a href="../cook.asp">总厨在线</a> <a href="../jingying.asp">经营管理</a> <a href="../sheji.asp">企业策划</a> <a href="../xingxiang.asp">形象设计</a></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="750" height="95" background="../images/bg2.gif" bgcolor="ececec"><div align="center">
<script type="text/javascript">
AC_AX_RunContent( 'classid','clsid:D27CDB6E-AE6D-11cf-96B8-444553540000','codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','150','height','88','src','../img/01.swf','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','type','application/x-shockwave-flash','movie','../img/01.swf' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="150" height="88">
<param name="movie" value="../img/01.swf" />
<param name="quality" value="high" />
<embed src="../img/01.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="150" height="88"></embed>
</object>
</noscript></div></td>
</tr>
<tr>
<td height="28" background="../images/n_01.gif" style="padding-left:15px">&nbsp;<a href="http://192.168.1.103/schome.asp?id=10">行业搜索</a> &nbsp;<a href="http://192.168.1.103/schome.asp?id=11">企业推广</a> </td>
<td height="28" background="../images/n_01.gif"><marquee width=100% onMouseOver="stop()" onMouseOut="start()" scrollamount="3">
<a href="../chat/chat.asp" target=_blank>三餐美食沙龙开通了,去聊聊走~</a>           <a href="http://192.168.1.103/job.asp">三餐人才欢迎你,帮你找到好工作!</a>
</marquee></td>
<td height="28" background="../images/n_01.gif" style="padding-right:15px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href=# onClick="this.style.behavior='url(#default#homepage)';this.setHomePage
('http://192.168.1.103');">设为首页</a>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://192.168.1.103/schome.asp?id=9">帮助</a> </td>
</tr>
</table>

其中导航栏调用的样式如下:
/*主菜单的样式*/
/*主菜单的样式*/
#topmenu {
MARGIN:0px;
PADDING-TOP: 11px !important;
PADDING-TOP: 9px;
BORDER:0px;
BACKGROUND: transparent no-repeat right top;
COLOR: #FFF;
HEIGHT:27px;
}

#topmenu ul {
CLEAR: left;
MARGIN: 0px;
PADDING: 0px;
BORDER:0px;
LIST-STYLE-TYPE: none;
TEXT-ALIGN: center;
display:inline;
}

#topmenu li {
FLOAT: left;
DISPLAY: block;
MARGIN: 0px;
PADDING:1px;
TEXT-ALIGN: center;
LINE-HEIGHT:27px;
}

#topmenu li a {
DISPLAY: block;
MARGIN:0px;
PADDING:0px;
WIDTH: 100%;
COLOR: #bc2a26;
TEXT-DECORATION: none;
}
#topmenu li a:hover {
FONT-WEIGHT: bold;
COLOR: #fff;
BACKGROUND-COLOR: #fbc100;
}
#topmenu1 li {
FONT-WEIGHT: bold;
COLOR: #fff;
BACKGROUND-COLOR: #fbc100;
}
#topmenu ul li#one A { WIDTH: 50px}
#topmenu ul li#two A { WIDTH: 50px}
#topmenu ul li#three A { WIDTH:80px}
#topmenu ul li#four A { WIDTH: 80px}
#topmenu ul li#five A { WIDTH: 80px}
#topmenu ul li#six A { WIDTH: 80px}
#topmenu ul li#seven A { WIDTH:80px}

希望能得到指点!

搜索更多相关主题的帖子: 字体 
2006-08-05 14:10
快速回复:[求助]为什么字体无故变粗?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.018095 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved