Jump to content

CSS Help


Septim741

Recommended Posts

I was working on some CSS and I've come upon something I don't really know how to do.

 

I'm trying to get everything that comes after a certain selector on a page, but not that selector itself. For ex. I want everything that comes after (or inside) the 'body' selector, but not the body selector itself.

 

If I'm just confusing you, then I'm sorry.

 

EDIT: I think I know! Put down the first selector, and then group all the affected selectors that would come after that.

 

body p1,p2,p3,p4,h1,h2,h3 {background-color: ff8000; }

 

I'll try it. We'll see how it turns out.

 

EDIT: Nevermind, tried something else and it worked. Thanks.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...