样式元素到底是啥呀?包含哪些内容?

panwill2000 2007-08-16 10:29:51

样式元素到底是啥呀?包含哪些内容?
是内联样式?文档级样式?还是。。。。
对这类的概念模糊呀。感觉挺抽象的。
...全文
127 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
eimhee 2007-08-17
  • 打赏
  • 举报
回复
学习
http://www.1ju.org
yixianggao 2007-08-16
  • 打赏
  • 举报
回复
留个 email 发手册给你

行为属性 behavior(已提交)*
字体和文本属性 direction*
direction
font
font-family
font-size
font-style
font-variant
font-weight
ime-mode(已提交)*
layout-grid(已提交)*
layout-grid-char(已提交)*
layout-grid-line(已提交)*
layout-grid-mode(已提交)*
layout-grid-type(已提交)*
letter-spacing
line-break(已提交)*
line-height
min-height ++
ruby-align(已提交)*
ruby-overhang(已提交)*
ruby-position(已提交)*
text-align
text-autospace(已提交)*
text-decoration
text-indent
text-justify(已提交)*
text-kashida-space(已提交)**
text-overflow ++
text-transform
text-underline-position(扩展)**
unicode-bidi
vertical-align
white-space**
word-break(已提交)*
word-spacing ++(于 Macintosh 版本 4.0 中可用)
word-wrap(扩展)**
writing-mode(已提交)**
颜色和背景属性 background-attachment
background-color
background-image
background-position
background-position-x(已提交)
background-position-y(已提交)
background-repeat
color
版面属性 border
border-bottom
border-bottom-color
border-bottom-style
border-bottom-width
border-collapse*
border-color
border-left
border-left-color
border-left-style
border-left-width
border-right
border-right-color
border-right-style
border-right-width
border-style
border-top
border-top-color
border-top-style
border-top-width
border-width
clear
float
layout-flow(扩展)
margin
margin-bottom
margin-left
margin-right
margin-top
padding
padding-bottom
padding-left
padding-right
padding-top
scrollbar-3dlight-color(扩展)**
scrollbar-arrow-color(扩展)**
scrollbar-base-color(扩展)**
scrollbar-darkshadow-color(扩展)**
scrollbar-face-color(扩展)**
scrollbar-highlight-color(扩展)**
scrollbar-shadow-color(扩展)**
table-layout*
zoom(扩展)**
分类属性 display
list-style
list-style-image
list-style-position
list-style-type
定位属性 bottom*
clip
height
left
overflow
overflow-x(已提交)
overflow-y(已提交)
position
right*
top
visibility
width
z-index
打印属性 page**
pageBreakAfter
pageBreakBefore
滤镜属性 filter(已提交)
伪类和其它属性 :active
@charset
cursor
:first-letter**
:first-line**
@font-face
:hover
@import
!important
:link
@media*
@page**
:visited
panwill2000 2007-08-16
  • 打赏
  • 举报
回复
就是将 css 1.0 2.0 对象化后滴产物 style 对象,
可以通过 js 脚本来控制所有与样式相关有关滴设置!

有点意思哈,看来样式元素包括内容不少呀,可否详细举举包含的内容呢?谢谢
yixianggao 2007-08-16
  • 打赏
  • 举报
回复
就是将 css 1.0 2.0 对象化后滴产物 style 对象,
可以通过 js 脚本来控制所有与样式相关有关滴设置!

内联样式 是指直接写在 html 标记中的 style,例如
<input type="text" id="txtText" value="Hello" style="color: red;" />

文档级样式 是指独立的 .css 样式表文件,引用方式例如
<link rel="stylesheet" href="/csdn.css">
panwill2000 2007-08-16
  • 打赏
  • 举报
回复
非常感谢yixianggao

自己的邮箱 panwill2000@163.com

61,125

社区成员

发帖
与我相关
我的任务
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
  • HTML(CSS)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧