注册 登录
编程论坛 ASP.NET技术论坛

size="+2"??

clock 发布于 2008-10-28 21:08, 898 次点击
HTML代码中
<font size="+2"></font>
其中的+2到底是指几号字,还是有其它意思?其中的size有几种写法?
2 回复
#2
小瘪三的烦恼2008-10-29 08:33
我没注意过,好像没+2吧。。。
#3
ruanjian21102008-10-29 09:09
SPECIFY THE RELATIVE FONT SIZE. <font size="+n"> or <font size="-n">.
Basically, you are specifying how many sizes larger or how many sizes smaller than the preset font size.
Font size="-2"
Font size="-1"
Font size="+1"
Font size="+2"
Font size="+3"
Font size="+4"
This is the default size for this font.....now I can change the size with
<font size="+3">to make it larger, </font> or
<font size="-2">to make it smaller </font>
http://www. 这个上面有介绍,不过都是英文的,呵呵。。
1