• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

10.4. Styles

Now that we've seen where styles are stored, let's look at styles themselves in more detail. A style is a formatting rule that can be applied to an item, such as text, an image, or a table. For example, you can define a style that uses 14-pt, blue, Helvetica text and apply it to all your subheadings. As usual, Dreamweaver provides a friendly UI for defining styles. You can open the New Style dialog box, where you'll begin the process of adding a new style, by using Text CSS Styles New Style. You will need to make your Type selection in this dialog box first because it affects the dialog box's other fields. Figure 10-5 shows three variations of the New Style dialog box—Make Custom Style (class), Redefine HTML Tag, and Use CSS selector—based on the Type radio button selection.

Figure 10-5. Using the New Style dialog box



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint