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

Lesson 9. Styling a Round-Cornered Heading > Adding a Background Image

Adding a Background Image

To add a background image to the <h2> element, use the background property. The image should be set to no-repeat so it doesn’t reappear in the middle of a long heading. The image is shown in Figure 9.2.

Figure 9.2. Screenshot of the first image—which is applied to the <h2> element.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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