Pages

Labels

Powered by Blogger.
Thursday, August 30, 2012

Advanced selectors


CSS 2.1 and CSS 3 have a number of other useful selectors. Unfortunately, while most modern browsers support these advanced selectors, older browsers like IE 6 do not. Luckily, CSS was created with backward compatibility in mind. If a browser doesn’t understand a selector, it ignores the whole rule. That way, you can apply stylistic and usability embellishments in more modern browsers and not worry about it causing problems  in older browsers. Just remember to avoid using these more advanced selectors for anything critical to the function or layout of your site.

0 Comments: