Dreamweaver的Style工具条有一个不幸的趋向:把它的大多数
创建新的样式表或修改一个已经存在的样式表,点击Style工具 当创建新的样式表时,你可以建一个类,修改已存在tag的样 type
font-family, font-size, font-style, line-height,
font-weight, font-variant, text-transform,
text-decoration, color
background
background-attachment, background-color,
background-image, background-repeat,
background-position
block
letter-spacing, text-align, text-indent, vertical-align,
word-spacing, white-space
box
clear, float, height, width, margin, padding
border
border-color, border-style, border-width
list
list-style-position, list-style-image,
list-style-type
positioning
overflow, position, visibility, visibility,
z-index, height,width, left, top, clip
extensions
cursor, filter
为了修正背景色的bug,在样式表编辑器中把边界宽度加一个 div { border: red; border-style: none; border-top-width: 1px; 这样背景色的问题彻底解决了。但是还要对此规则做一些解 对元素应用样式有很多方式。可以把光标放在tag内,然后
为tag应用样式的另一种方法是选中文本然后点击Style工具条
|