eHow launches Android app: Get the best of eHow on the go.

How To

How to Create a Style Sheet for a Web Page With Dreamweaver

Contributor
By eHow Contributing Writer
(7 Ratings)

With cascading style sheets (CSS), you can specify automatic HTML formatting options that apply to an entire site. Although implementing style sheets in HTML can be complicated, Dreamweaver 3.0 makes this a relatively simple process.

Difficulty: Moderate
Instructions

Things You'll Need:

  1. Step 1

    Start the Dreamweaver program.

  2. Step 2

    Open the Window menu and select CSS Styles (or press the F7 key). This will open the CSS Style Properties box.

  3. Step 3

    Click on the New Styles button on the bottom of the Style Properties box in the lower right corner (which resembles a page with the corner folded over).

  4. Step 4

    Select a style type (see Tips) and name the style.

  5. Step 5

    Choose the style formatting options and click OK.

  6. Step 6

    Apply the style by selecting the object to be changed and clicking on the style in the CSS window.

  7. Step 7

    Apply the style to the entire page by choosing "body" from the Apply To list in the CSS window.

Tips & Warnings
  • "Make Custom Style (Class)" creates a new style.
  • "Redefine HTML Tag" changes the properties of a tag to reflect your changes. For example, the B tag can be changed to be bold and italicized.
  • "Use CSS Selector" allows you to create formatting options for tags that contain an ID number specified by you. See Dreamweaver Help for more information about using the CSS Selector.
  • Some older browsers do not support CSS styles. The information that the CSS tags are applied to will appear as if no tags were applied to it.

Post a Comment

Post a Comment
  • Have you done this? Click here to let us know.
I Did This

Related Ads

Internet
Virginia DeBolt,

Meet Virginia DeBolt eHow's Internet Expert.

Get Free Internet Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

Demand Media
eHow_eHow Technology and Electronics