Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What browsers support CSS #parent > .direct-child notation? (no jQuery)

As far as I know, the > (#test>div) means that the div is required to be a direct child of #test.

Where a space (#test div) means that it can be a descendant/ancestor relationship. So #test p div would be affected by simply a reference to #test div

What browsers support the first one mentioned?

like image 465
700 Software Avatar asked Nov 11 '10 21:11

700 Software


People also ask

Does CSS work on all browsers?

In general, most core HTML and CSS functionality (such as basic HTML elements, CSS basic colors and text styling) works across all the browsers you'll want to support; more problems are uncovered when you start wanting to use newer HTML, CSS, and APIs.

How do I get CSS to work on all browsers?

Try to generalize your CSS so it works the same in all browsers. If you have to, use browser specific stylesheets for the few cases you cannot generalize. Don't use hacks.

Does Safari support CSS?

CSS all property is Fully Supported on Safari 15, which means that any user who'd be accessing your page through Safari 15 can see it perfectly. Browser incompatibility may be due to any other web technology apart from CSS all property.

Which browser supports almost all the CSS properties?

Which browser supports almost all the CSS properties? Chrome. 4 - 36 supported.


1 Answers

You can find information for all selectors at http://www.quirksmode.org/css/contents.html For your questions the supported browsers are the following:

IE 7, IE8, IE9 pr3, FF 3.0, FF 3.5, FF 3.6, FF 4b1, Saf 4.0 Win, Saf 5.0 Win, Chrome 4, Chrome 5, Opera 10.10, Opera 10.53 and Opera 10.60

Edit: Since it's 2015 I would suggest to have as reference for such questions the can I use? website. For example you can find more info for child selector.

like image 91
Sotiris Avatar answered Nov 10 '22 11:11

Sotiris