
<span style="font-size:12px;">1</span>
<span style="font-size:14px;">2</span>
<span style="font-size:16px;">3</span>
</a>
想不出字体还可以递增大小,只能用繁琐的方法这样咯~怎样用css设置超链接字体的不同颜色
2006-6-7
10:39
yywzya:link
{
text-decoration:
none;
color:
#31687E;}a:visited
{
color:
#31687E;
text-decoration:
none;}a:hover
{
color:
#FF0000;
text-decoration:
none;}a:active
{
color:
#FF0000;
text-decoration:
none;}av1:link
{
text-decoration:
underline;
color:
#31687E;}av1:visited
{
color:
#31687E;
text-decoration:
underline;}av1:hover
{
color:
#333333;
text-decoration:
underline;}av1:active
{
color:
#FF0000;
text-decoration:
none;}上面四个为默认的超级链接的样式,下面四个为不同颜色的链接样式,不过在链接的时候要调用一下v1的名字如这种格式<a
href="indexasp"
class="v1">首页</a>
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)