|
Mailing Lists
|
Home / Groups / Cascading Style Sheets (CSS)
Mozilla CSS3 and the W3C validation> I thought the browser specific '-moz' was considered good, standard > practice these days? Using browser specific anything is never good practise. Especially browser specific things that are named after a browser. Might be the only way to achieve something sometimes though, so... > And is there any simple trick that would allow me to keep the > functioning, Mozilla specific CSS3 features and still get a passing > validation from the W3C tool? Your main stylesheets should have the standards version only. Create [stylesheet-name].[browser]fix.css for any browser-specific fixes. (e.g. "main.css" has "main.iefix.css", "main.mozfix.css", etc.) Then, as browsers fix things, you can just reduce/remove the fix files whilst leaving your main stylesheets untouched. |
May 18, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||