| New CSS commands for Internet Explorer 7 |
|
|
|
| Articles Reviews CSS | |
| Written by Adi Bach | |
| Monday, 12 February 2007 | |
|
{mos_sb_discuss:19} There are a small handful of new CSS commands that you can now use for Internet Explorer 7. Well, they're not really new - most other browsers have supported them for a long time and IE is only just catching up. These new commands basically give you more control over HTML elements and eliminate the need to use classes or ids in a lot of instances. Once IE6 becomes outdated you'll be able to use the commands outlined in this article. Actually, that's not strictly true - provided that your website doesn't rely on these commands and is still legible in IE6 and before then there's no problem using them. Child selector Despite Internet Explorer 6 not supporting the CSS child selector, it's actually been used a lot as a way of hiding CSS commands from Internet Explorer. This is no longer possible as IE7 now understands the child selector. So, what is the child selector? Well, imagine the following HTML structure:
In the above example, the
This basically means that the contents of the Powered by jReviews |
|
| Last Updated ( Wednesday, 04 July 2007 ) | |
| < Prev | Next > |
|---|







