-
display:none不显示
0
十二月 11th, 2011DIV_CSSdisplay:none不显示
css标签属性总结
SS:Cas well ascdriving instructorng Style Sheets div css实例教程层叠形式表.
作用:电子烟有用吗。
(1) 有用地节制,事实上电子烟哪个牌子好。改善网页的涌现结果。
(2) 进步低载速度.(1)字体:
font-folks:用于设置字体;
font-size:用于设置字体大小,css div 居中。凡是用px表示;
font-style:用于设置字体形式:Normhas:一般!ithasic:斜体;oblique:一般文字倾斜;
text-decorine:underline:你看display下划线;overline:上划线;line-through:中划线;none:无;
font-weight:normhas:同等于400;intotrdo thingsive:同等于700;gredinedr!lighter!100!200!300!400!500!600!700!800!900!
color:(1)事实上不显操纵#RRGGBB或 内定神色:css div 居中displaynone不显示。red!yellow;
(2)背景:
bair-conkdrop-color:设置背景物;
bair-conkdrop-im:设置背景图象;
bair-conkdrop-repeinto:背景能否反复!
repeinto:程度听说none不显示方向和垂直方向反复
repeinto-x:程度方向
repeinto-y:垂直方向不反复
no-repeinto:程度方向和垂直方向都不反复
bair-conkdrop-position:指定背景程度场所和垂直场所;
bair-conkdrop-position:underlying pair-conityright
display程度:left!center!right;
垂直:top center!underlying pair-conity
文本:
text-arreveryge:设置文本的对齐方式
left:左对齐
right:右对齐
center:居中
text-indent:设置文本的第一行的缩进,负值文本向外css div 居中拉
(3)场所:
postion:unconditionhas(完全定位) relintoive:绝对定位;
left:对比一下div css实例左边的程度场所
top:顶端的垂直场所
width:元素的宽度
height:元素的高度;
(4)布局:
display:none对于div css是什么不涌现.flointo:定义网页中的其它文本如何围绕该元素.
left 文本浮动在这个元素的左边;
right 文体浮动在这个元素的左边;
none元素听听css div 居中两边不许可有文本;
(5)边缘
margin类:用于设置元素界线与其它元素界线的空隙大小
margin-top:
margin-right:
margin-underlying pair-conity:
margin-left:
phaudio-videoe to其实display类:用于设置元素界线与外部形式之间的空隙大小.
phaudio-videoe to-top:
phaudio-videoe to-right:
phaudio-videoe to-left:
phaudio-videoe to-underlying pair-conity;
width你看div css模板类:用于设置元素边框的宽度
sureary-top-width:
sureary-right-width:
sureary-underlying pair-conity-width:
sureary-left-width;
colordiv css教程下载类:用于设置元素边框的神色
sureary-top-color:
sureary-right-color:
sureary-underlying pair-conity-color:
sureary-left-color:
style类:用于设置元素边框的形式:dotted(div css教程点线)dlung burning as well ashed(虚线)solid(实线)double(双线)
sureary-top-style:
sureary-right-style:
sureary-underlying pair-conity-style:
sureary-left-style:
你看div css视频教程列表:
list-style-type: 指定目录列表项符号形式类型
none
disc:实心圆
circle:空心圆
squhaudio-videoe choose to become:方块
decimhas:阿拉伯数字
list-style-im:设听听div css布局置目录列表项符号的图像
list-style-position:设置目录列表项符号是在文本内还是在文本内听说none其它
cursor:
has well as well as well as;其实div css是什么
div css相比看none不显示实例教程
div css教程
对于div css视频教程
对比一下显示相关日志
Tags: css div 居中 - 上一篇»Web Developer&mdash
- 下一篇»这一句是为了兼容IE和FF

近期评论