由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
BuildingWeb版 - html里怎么设置一部分文本的背景颜色??
相关主题
新手请教Different color text in same table
Website using Dreamweaver HELP如何在网页上加google搜索
问个WP的问题a basic css question
提一个CSS字体的问题关于php的问题
CSS 没有效果 的问题HTML help: scrollbar problem
font-family questiongoogle search 代码是怎么样的呢?
Help: font size decreases by itself in IE9 in 1 of the PC (转载)问个入门级的 html 问题
HTML颜色代码求助:一个html得问题
相关话题的讨论汇总
话题: font话题: color话题: 颜色话题: 文本话题: css
进入BuildingWeb版参与讨论
1 (共1页)
G*********a
发帖数: 1080
1
用font color可以改变文本本身的颜色 ( ),
可是bgcolor一定是要和 body, p(aragragh) 或者 table 一起用,要是只想改变一行
文字中几个文字的背景颜色应该怎么办呢?谢谢。
q**1
发帖数: 193
2
font已经是xhmtl里 deprecated 的 element了. 用CSS,例如:
This part is not highlight high light this not this.
CSS:
.hl {
color:color1;
background-color:color2;
}

【在 G*********a 的大作中提到】
: 用font color可以改变文本本身的颜色 ( ),
: 可是bgcolor一定是要和 body, p(aragragh) 或者 table 一起用,要是只想改变一行
: 文字中几个文字的背景颜色应该怎么办呢?谢谢。

G*********a
发帖数: 1080
3
ic. thank u very much, it works for me now. :)

this.

【在 q**1 的大作中提到】
: font已经是xhmtl里 deprecated 的 element了. 用CSS,例如:
: This part is not highlight high light this not this.
: CSS:
: .hl {
: color:color1;
: background-color:color2;
: }

1 (共1页)
进入BuildingWeb版参与讨论
相关主题
求助:一个html得问题CSS 没有效果 的问题
求教 php中的js语句不workfont-family question
为什么php在$前加奇怪空格?Help: font size decreases by itself in IE9 in 1 of the PC (转载)
Re: Chinese fontHTML颜色代码
新手请教Different color text in same table
Website using Dreamweaver HELP如何在网页上加google搜索
问个WP的问题a basic css question
提一个CSS字体的问题关于php的问题
相关话题的讨论汇总
话题: font话题: color话题: 颜色话题: 文本话题: css