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

Chapter Nine. CSS Basics > Grouped Selectors

Grouped Selectors

When several elements share stylistic properties, you can apply one declaration to multiple selectors by ganging them together in a comma-delimited list:

p, td, ul, ol, ul, li, dl, dt, dd   {
     font-size: small;
   }


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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