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

Lesson 17. Styling a Round-Cornered Box > Styling the <h2> Element

Styling the <h2> Element

Now that the <div> has been styled, the <h2> element will be used to position the second background image in the top-right corner.

The <h2> element’s margins have to be turned off using margin: 0.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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