Home  >  Article  >  Web Front-end  >  Post the code and ask this question again. I hope you can help me solve it_html/css_WEB-ITnose

Post the code and ask this question again. I hope you can help me solve it_html/css_WEB-ITnose

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

If I use college English letters in the html code, the font size cannot be modified in the IE browser. Even if I define fonts of other sizes, it is useless. It can be used in Firefox. I don’t know how to solve this problem.

9e80a1cbb6fa0609753359a9577296d445a2772a6b6107b401db3c9b82c049c2ee7959cc8dd4be16ef633321c03dac32>>MORE5db79b134e9f6b82c0b36e0489ee08ed54bdf357c58b8a65c66d7c19c8e4d114354a2b149815593c5de8916fafed66471111111115db79b134e9f6b82c0b36e0489ee08ed16b28748ea4df4d9c2150843fecfba68

Then my css is like this
.title a{ font-size:14px; font-weight:bold; color:#fff ;}
.title span{float:right;}
.title span a{ font-weight:normal; font-size:12px;}

The bold font style has been cancelled. But the size remains the same as the 14-point font.


Reply to discussion (solution)

<!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>



Why doesn’t it work?

fef50554eca1a427827adaa329da8122
100db36a723c770d327fc0aef2ce13b1
93f0f5c25f18dab9d176bd4f6de5d30e
🎜> .title a{ font-size:36px; font-weight:bo1d; color:#000;}
.title span{float:right;}
.title span a{ font-weight:normal; font-size: 36px;}
                                                                     # ">>>MORE5db79b134e9f6b82c0b36e0489ee08ed54bdf357c58b8a65c66d7c19c8e4d114ee7959cc8dd4be16ef633321c03dac321111111115db79b134e9f6b82c0b36e0489ee08ed16b28748ea4df4d9c2150843fecfba68 /html>



Check carefully to see if there are any changes

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn