html:没有css的链接的文本装饰 [英] html: text decoration of a link without css

查看:213
本文介绍了html:没有css的链接的文本装饰的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一些(技术上糟糕,但仍然好看)黑莓的所有css支持禁用的表设计。



我似乎没有找到如何使我的链接显示如下没有css:

 < style type =text / css> 
a.hover {
border:0;
}
a {
text-decoration:none;
}
< / style>

是否可能,只是使用html?



 < body link =h2_lin>解决方案

XXXalink =YYYvlink =ZZZ>

XXX是用于链接的颜色,YYY是鼠标悬停链接时的颜色,ZZZ是颜色已访问的链接。颜色可以使用十六进制符号表示,就像样式表一样

  #AABBCC 
pre>

您不能设置链接是否带下划线或是否有边框。这完全取决于浏览器...除非这些设备有一些特殊的,秘密的非标准HTML。


i need to to some (technically awful but still good looking) table designs for blackberries that have all css support disabled.

i don't seem to find out how to get my links to display as follows without css:

<style type="text/css">
a.hover { 
  border:0;
} 
a {
  text-decoration: none;
}
</style>

is it even possible, just using html?

解决方案

You can only set the color.

<body link="XXX" alink="YYY" vlink="ZZZ"> 

XXX being the color used for links, YYY the color when mouse hovers the link and ZZZ the color for already visited links. Color can be given in hex notation just like with stylesheets

#AABBCC

You cannot set whether links are underlined or not, or have a border or not. This is totally up to the browser... unless these devices have some special, secret non-standard HTML.

这篇关于html:没有css的链接的文本装饰的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆