Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7939291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:03:27+00:00 2026-06-03T23:03:27+00:00

The > character can be used with CSS to select an element that has

  • 0

The > character can be used with CSS to select an element that has a certain parent.
The benefit I see here is that I can apply styles only to a certain level of a list for example. Like menus – first level is orizontal and has different rules than 2nd level+. so i don’t need to worry about resetting properties for lvl 2+

Anyway, can I depend on >? Is it supported by all browsers and without buggy behaviors?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T23:03:28+00:00Added an answer on June 3, 2026 at 11:03 pm

    The child selector > is fully supported by IE7 and later, and not at all in IE6 and earlier. Of course, all versions of all other major browsers in use today support it fully as well.

    All CSS2.1 selectors are well-supported by IE8 and later so you can use them today, unless you’re writing legacy code that needs to cater to IE6, in which case avoid them where possible.

    The SitePoint Reference does mention an obscure parsing bug related to comments that affects IE7, but it only breaks the selector if a comment is there. You don’t usually put comments in the middle of selectors unless you’re doing so as a hack, so you don’t need to worry about this bug.

    Related: Are CSS child selectors a W3C standard? (Of course they are!)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Zend Framework, Zend_Validate_StringLength has an encoding property that can be used to convert
What is the maximum number of characters that can be used to define the
When defining a custom operator from the limited set of single-character operators that can
I am aware that any Unicode character can be inserted into an HTML document
What are the valid characters that can be used in a URL query variable?
I understand that C++ Traits are compile time properties that can be used to
I have recently found that Matlab can use LaTeX character sequences. However, they only
In PHP, what is a list of potentially harmful characters that can be used
What characters can be used as CSS identifiers in a CSS file? How can
I'm writing some web UI pages that can be used to create Linux user

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.