开发者

Modifying links design for a tumblr theme

I'm trying to modify the way links display in the theme I'm currently working on with the a:link a:hover method in a css file but it don't work and I can't understand why... Any help ? Tha开发者_开发知识库nk you


You can try this (note a:link doesn't exist in CSS):

a {
   text-decoration:none;
   color:#000;
   font-style:italic;
}
font
a:hover {
   text-decoration:underline;
   color:#000;
}

a:visited {
   color:#000;
}

"a" is the link. text-decoration: none removes the underline, text-decoration: underline adds the underline. font-style:italic adds an italic to the link. the color #000 is black and using that color in a:visited ensures that the link stays black after it's visited (I didn't know if you would want that so I added it anyway).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜