请问div {border:1px solid #00FF00;width:100px;text-align:cente
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/15 06:59:12
请问div {border:1px solid #00FF00;width:100px;text-align:center;cursor:hand;}这个语句是什么意思?
还有里面的各个属性是什么意思?谢谢!
还有里面的各个属性是什么意思?谢谢!
order
语法:
border :border-width || border-style || border-color
参数:
该属性是复合属性.请参阅各参数对应的属性.
border-width
语法:
border-width :medium | thin | thick | length
参数:
medium :默认宽度
thin :小于默认宽度
thick :大于默认宽度
length :由浮点数字和单位标识符组成的长度值.不可为负值.
border-style
语法:
border-style :none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset
参数:
none :无边框.与任何指定的border-width值无关
hidden :隐藏边框.IE不支持
dotted :在MAC平台上IE4+与WINDOWS和UNIX平台上IE5.5+为点线.否则为实线
dashed :在MAC平台上IE4+与WINDOWS和UNIX平台上IE5.5+为虚线.否则为实线
solid :实线边框
double :双线边框.两条单线与其间隔的和等于指定的border-width值
groove :根据border-color的值画3D凹槽
ridge :根据border-color的值画菱形边框
inset :根据border-color的值画3D凹边
outset :根据border-color的值画3D凸边
border-color
语法:
border-color :color
参数:
color :指定颜色.请参阅颜色单位和附录:颜色表
width
语法:
width :auto | length
参数:
auto :无特殊定位,根据HTML定位规则载文档流中分配
length :由浮点数字和单位标识符组成的长度值,或者百分数.百分数是基于父对象的宽度.不可为负数.
text-align
语法:
text-align :left | right | center | justify
参数:
left :左对齐
right :右对齐
center :居中
justify :两端对齐
cursor
语法:
cursor :auto | crosshair | default | hand | move | help | wait | text | w-resize |s-resize | n-resize |e-resize | ne-resize |sw-resize | se-resize | nw-resize |pointer | url (url)
参数:crosshair default hand pointer
move help wait text
w-resize s-resize n-resize e-resize
ne-resize sw-resize se-resize nw-resize
auto url(img/1001.gif)
设置不同的鼠标形状.
语法:
border :border-width || border-style || border-color
参数:
该属性是复合属性.请参阅各参数对应的属性.
border-width
语法:
border-width :medium | thin | thick | length
参数:
medium :默认宽度
thin :小于默认宽度
thick :大于默认宽度
length :由浮点数字和单位标识符组成的长度值.不可为负值.
border-style
语法:
border-style :none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset
参数:
none :无边框.与任何指定的border-width值无关
hidden :隐藏边框.IE不支持
dotted :在MAC平台上IE4+与WINDOWS和UNIX平台上IE5.5+为点线.否则为实线
dashed :在MAC平台上IE4+与WINDOWS和UNIX平台上IE5.5+为虚线.否则为实线
solid :实线边框
double :双线边框.两条单线与其间隔的和等于指定的border-width值
groove :根据border-color的值画3D凹槽
ridge :根据border-color的值画菱形边框
inset :根据border-color的值画3D凹边
outset :根据border-color的值画3D凸边
border-color
语法:
border-color :color
参数:
color :指定颜色.请参阅颜色单位和附录:颜色表
width
语法:
width :auto | length
参数:
auto :无特殊定位,根据HTML定位规则载文档流中分配
length :由浮点数字和单位标识符组成的长度值,或者百分数.百分数是基于父对象的宽度.不可为负数.
text-align
语法:
text-align :left | right | center | justify
参数:
left :左对齐
right :右对齐
center :居中
justify :两端对齐
cursor
语法:
cursor :auto | crosshair | default | hand | move | help | wait | text | w-resize |s-resize | n-resize |e-resize | ne-resize |sw-resize | se-resize | nw-resize |pointer | url (url)
参数:crosshair default hand pointer
move help wait text
w-resize s-resize n-resize e-resize
ne-resize sw-resize se-resize nw-resize
auto url(img/1001.gif)
设置不同的鼠标形状.
请问div {border:1px solid #00FF00;width:100px;text-align:cente
DIV+CSS * { margin:0;padding:0;border:1px solid red;}
div width=100px和div style="width:100px"的区别
border-right:1px solid #c5c6c4;border-left:1px solid #c5c6c4
css #div1 {width:350px;height:70px;padding:10px;border:1px s
border-bottom:1px solid #ED9F9F什么意思;
td style="border-right:#ccc 1px solid"这句是什么意思?
css 中border:1px solid rgba(0,0,0,0.1);
ul {margin:0 auto;width:100;text-align:left;}
css中 border-radius:100px / 50px;
-moz-border-radius:5px; -webkit-border-radius:5px; 请问这些代码前面的
*border-bottom-width:2px;前面加个“*”符号是什么意思呢?