CSS常用文本属性.doc
kp****93
在线预览结束,喜欢就下载吧,查找使用更方便
相关资料
CSS常用文本属性.doc
CSS常用文本属性文本对齐属性(text-align)这个属性用来设定文本的对齐方式。有以下值:left(居左,缺省值)right(居右)center(居中)justify(两端对齐)示例代码如下:.p2{text-align:right}HYPERLINK"http://www.admin5.com/html/css_examples/033_text_align.html"演示示例<html><head><title>文本对齐属性text-align</title><styletype="tex
Css+div 常用CSS标签及属性.doc
Css+div常用CSS标签及属性2009年10月15日评论(0)|浏览(64)HYPERLINK"http://user.qzone.qq.com/389017300/blog/1255594252"\t"_blank"点击查看原文CSS中的长度绝对单位:几乎不用在网页中in英寸1in=2.54cmcm厘米1cm=0.394inpt磅1in=72ptpcpica1in=6pc相对单位:较常用em1em=相应字体的font-size值ex1ex=相应字体中的小写x字母的高度值,较难求得,一般取0.5
CSS3的新增文本属性.ppt
CSS3的新增文本属性本章内容CSS1&2中的文本属性CSS3新增的文本属性属性text-overflow属性text-align属性text-transform属性text-decoration属性text-decoration-line属性text-decoration-color属性text-decoration-style属性text-shadow属性text-fill-color属性text-stroke属性text-stroke-width属性text-stroke-color属性实例:描边字
CSS语法手册(二)文本属性.pdf
CSS语法手册(二)文本属性1、letter-spacing功能:控制文本元素字母间的间距,所设置的距离适用于整个元素。数值:normal-正常间距,将字符间的间距复位为所有字体和字号的正常间距。长度-设置字间距长度,正值表示加进父元素中继承的正常长度,负值则減去正常长度。在数字后指定度量单位如下:mm,cm,in,pt(点数),px(象素),pc(pica),ex(小写字母x的高度),em(大写字母M的宽度)。例子:Letter-Spacing2、line-height功能:设置元素中文本的行间距。数值
第10章 CSS字体与文本相关属性.ppt
10.1给文字添加阴影—text-shadow属性10.1.1text-shadow属性的使用方法【例10-1】下面的一个实例,展示了设置阴影的几个参数的意义:<title>阴影</title><styletype="text/css">span{display:block;padding:8px;font-size:xx-large;}</style></head><body>text-shadow:red5px5px2px:<spanstyle="text-shadow:red5px5px2px">明