618545
134
Zoom out
Zoom in
Previous page
1/661
Next page
127
USING DREAMWEAVER
Creating pages with CSS
Last updated 3/28/2012
To define the formatting for a tag that contains a specific ID attribute, select the ID option from the Selector Type
pop-up menu and then enter the unique ID (for example, containerDIV) in the Selector Name text box.
Note: IDs must begin with a pound (#) sign and can contain any combination of letters and numbers (for example,
#myID1). If you don’t enter a beginning pound sign, Dreamweaver automatically enters it
for you.
To redefine the default formatting of a specific HTML tag, select the Tag option from the Selector Type pop-up
menu; then enter an HTML tag in the Selector Name text box or select one from the pop-up
menu.
To define a compound rule that affects two or more tags, classes, or IDs simultaneously, select the Compound
option and enter the selectors for your compound rule. For example if you enter div p, all p elements within div
tags will be affected by the rule. A description text area explains exactly which elements the rule will affect as you
add or delete selectors.
3 Select the location in which you want to define the rule, and then click OK:
To place the rule in a style sheet that is already attached to the document, select the style sheet.
To create an external style sheet, select New Style Sheet File.
To embed the style in the current document, select This Document Only.
4 In the CSS Rule Definition dialog box, select the style options you want to set for the new CSS rule. For more
information, see the next section.
5 When you are finished setting style properties, click OK.
Note: Clicking OK without setting style options results in a new, empty rule.
Set CSS 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:
Font-family 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.
Font-size 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.
Font-style Specifies Normal, Italic, or Oblique as the font style. The default setting is Normal. The style attribute is
supported by both browsers.
134


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Adobe DREAMWEAVER CS5.5 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Adobe DREAMWEAVER CS5.5 in the language / languages: English as an attachment in your email.

The manual is 21,23 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

Others manual(s) of Adobe DREAMWEAVER CS5.5

Adobe DREAMWEAVER CS5.5 User Manual - German - 753 pages

Adobe DREAMWEAVER CS5.5 User Manual - Dutch - 725 pages


The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info