Heim  >  Artikel  >  Web-Frontend  >  发代码重新问一下这个问题,希望大侠帮忙解决一下_html/css_WEB-ITnose

发代码重新问一下这个问题,希望大侠帮忙解决一下_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:11:42948Durchsuche

在html代码中使用大学英文字母的话,在ie浏览器下无法修改字体大小,即使我给它定义其他大小的字体也没用,在火狐里面就可以,不知道这个问题怎么解决。

>>MORE111111111


然后我的css是这样的
.title a{ font-size:14px; font-weight:bold; color:#fff;}
.title span{float:right;}
.title span a{ font-weight:normal; font-size:12px;}

字体加粗的样式已经取消了,但是大小还是14号字体没变。


回复讨论(解决方案)

<!DOCTYPE HTML><html>	<head>		<meta charset="gb2312" />		<title></title>			<style>			.title a{ font-size:14px; font-weight:bo1d; color:#000;}			.title span{float:right;}			.title span a{ font-weight:normal; font-size:12px;}		</style>			</head>	<body>		<div class="title"><span><a href="#">>>MORE</a></span><a href="#">111111111</a></div>	</body></html>



怎么没效果了?

nbsp;HTML>

    


            
                
    
    
        
>>MORE111111111

    




负责仔细看看有没有变
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn