About ie6's style support for the first-letter pseudo-class
The html code is as follows:
<p class="tit_f"> HHONORY CERTIFICATE<br /> <span>荣誉证书</span> </p>
.tit_f:first-letter {font-size:30px;float:left;padding-top:10px;}
By the way, is everyone off on Sunday?
Since Firefox and chrome behave differently, then it doesn’t make sense
Since Firefox and chrome behave differently, then it doesn’t make sense
The general idea is like this. If there is a difference, adjust the value:
<!doctype html><html><head> <meta charset="UTF-8"> <title></title> <style type="text/css"> *{ margin:0; padding:0;} .tit_f{} .tit_f i{ position:relative;top:0;font-size:42px;float:left;font-style:normal;} .tit_f span{font-size:14px;} </style></head><body><p class="tit_f"> <i>H</i>HONORY CERTIFICATE<br /> <span>荣誉证书</span></p></body></html>
The general idea is like this. If there is a difference, adjust the value:
<!doctype html><html><head> <meta charset="UTF-8"> <title></title> <style type="text/css"> *{ margin:0; padding:0;} .tit_f{} .tit_f i{ position:relative;top:0;font-size:42px;float:left;font-style:normal;} .tit_f span{font-size:14px;} </style></head><body><p class="tit_f"> <i>H</i>HONORY CERTIFICATE<br /> <span>荣誉证书</span></p></body></html>