• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 12. Using Style Sheets with Indi... > Creating Style Sheets with FrontPage

Creating Style Sheets with FrontPage

Style sheet use in FrontPage is not exactly WYSIWYG, but it is certainly easier than coding the HTML by hand. Essentially, you insert styling code into a STYLE block using preset choices from a dialog box. Alternatively, you can add inline styles to a page element by using the Class sheet of the Style dialog box. Finally, you can create an external style sheet and reference it as an imported or linked style sheet.

Creating an Embedded Style

As you'll remember from the discussion earlier in this chapter, embedded styles are those you define with the STYLE block inside the HEAD section of the page. An example of creating such a style block is given in the following procedures. The example sets up a page that uses the Courier New font as default with maroon as the default text color (in other words, the <BODY> tag is to have these style attributes). Furthermore, the STYLE block will set all H1 level headings to appear in black Arial, bold italic, with a solid-line border, and all paragraphs will have a left margin of 16 pixels.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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