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

Chapter 8. Creating Styles > Selecting Part of an Element

Selecting Part of an Element

You can also select just the first letter or first line of an element and then apply formatting to that.

To select the first line of an element

1.
Type tag, where tag is the name of the element whose first line you’d like to format.

2.
Type : (the colon).

3.
Type first-line to select the entire first line of the element referenced in step 1.

4.
Create the rest of the style rule as usual (see page 134).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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