Home > Web Front-end > HTML Tutorial > 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
Release: 2016-06-24 12:11:42
Original
987 people have browsed it

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.



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>
Copy after login



Why doesn’t it work?




🎜> .title a{ font-size:36px; font-weight:bo1d; color:#000;}
.title span{float:right;}
.title span a{ font-weight:normal; font-size: 36px;}
                                                                     # ">>>MORE111111111

/html>



Check carefully to see if there are any changes

source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template