用CSS3设置mailto:像网页中使用css一样
下例显示了你可以怎样设计mailto:超链接的网页使用CSS属性选择器。<!DOCTYPE html><html><head> <style type="text/css"> a { color: green; } a:before { color: red; content: "Email: "; font-style: italic; } </style></head><body> <a href="http://cfexamples.com/">Go to ColdFusionExamples.com</a><br/> <a href="mailto:jane@doe.com">Jane Doe</a><br/> <a href="mailto:john.smith@domain.org">John Smith</a><br/> </body></html>
源代码:
stylemailto.zip
页:
[1]