2010-11-23 73 views
0

我不能得到任何更大的我已经尝试了一些HTML变化......我希望它巨大的......我知道这是基本的,但我已经尝试了一些东西为什么我在编辑字体大小时遇到​​这样的问题?

http://www.drillavailable.neighborrow.com/

<div style="text-align: center;"><br><br><br><br><br><br> 
<font size="100">NO:(</font> 
<br><br>no one within 3 miles of your location has listed their drill yet, be 
<a href="http://u.neighborrow.com/items/create/">the first!</a><br></div> 

回答

2

替换<font size="100">NO:(</font><span style="font-size:100pt;">NO:(</span>

1

在您的<div>中,您可以添加style="font-size:100px"以更改该元素内部文本的字体大小。

5

使用CSS:

<span style="font-size: 100px">NO:(</span> 

font标签大小属性的数量是一个别名,因此限于:
http://www.w3.org/TR/CSS2/fonts.html#propdef-font-size

可能的值为:
[XX-小| x-small |小|中等|大| x-large | xx-large]

哪个地图从17

2
<div style="text-align:center;"> 
    <span style="font-size:100pt;display:block">NO!</span> 
    no one within 3 miles of your location has listed their drill yet, be 
    <a href="http://u.neighborrow.com/items/create/">the first!</a> 
</div> 

预览@jsfiddle

相关问题