Sign in to follow this  

[web] Question about CSS?

This topic is 4262 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've just noticed the > and + symbols used in a css file in a way which I don't know what they mean. I've tried searching frantically on google but I can't get the stupid thing to accept my symbols as search terms. Anyway, could anyone please help me, what is the difference between these 3 blocks? div p { /* some properties */ } -- div > p { /* some properties */ } -- div + p { /* some properties */ } Many thanks in advance

Share this post


Link to post
Share on other sites
Note that Internet Explorer doesn't understand all the fancy selectors.

Share this post


Link to post
Share on other sites
Sign in to follow this