Set css properties – Adobe Dreamweaver CC 2014 v.13 User Manual
Page 153
Set CSS properties
Font-family
Font-size
Font-style
Line-height
Text-decoration
Font-weight
In Dreamweaver CC and later, CSS Styles panel is replaced with CSS Designer. For more information, see CSS Designer.
Define CSS type properties
Define CSS style background properties
Define CSS style block properties
Define CSS style box properties
Define CSS style border properties
Define CSS style list properties
Define CSS style positioning properties
Define CSS style extension properties
You can define properties for CSS rules such as text font, background image and color, spacing and layout properties, and the appearance of list
elements. First create a new rule, then set any of the following properties.
Define CSS type properties
You use the Type category in the CSS Rule Definition dialog box to define basic font and type settings for a CSS style.
1. Open the CSS Styles panel (Shift + F11) if it isn’t already open.
2. Double-click an existing rule or property in the top pane of the CSS Styles panel.
3. In the CSS Rule Definition dialog box, select Type, and then set the style properties.
Leave any of the following properties empty if they are not important to the style:
Sets the font family (or series of families) for the style. Browsers display text in the first font in the series that is installed on the
user’s system. For compatibility with Internet Explorer 3.0, list a Windows font first. The font attribute is supported by both browsers.
Defines the size of the text. You can choose a specific size by selecting the number and the unit of measurement, or you can
choose a relative size. Pixels work well to prevent browsers from distorting your text. The size attribute is supported by both browsers.
Specifies Normal, Italic, or Oblique as the font style. The default setting is Normal. The style attribute is supported by both
browsers.
Sets the height of the line on which the text is placed. This setting is traditionally called leading. Select Normal to have the line
height for the font size calculated automatically, or enter an exact value and select a unit of measurement.The line height attribute is
supported by both browsers.
Adds an underline, overline, or line-through to the text, or makes the text blink. The default setting for regular text is None.
The default setting for links is Underline. When you set the link setting to none, you can remove the underline from links by defining a
special class.The decoration attribute is supported by both browsers.
Applies a specific or relative amount of boldface to the font. Normal is equivalent to 400; Bold is equivalent to 700. The weight
146