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

Chapter Nine. CSS Basics > id Selectors and Contextual id Selectors

id Selectors and Contextual id Selectors

In modern layouts, id selectors are often used in contextual selectors:

#sidebar p   {
     font-style: italic;
     text-align: right;
     margin-top: 0.5em;
     }


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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