Kaula Posted October 15, 2006 Posted October 15, 2006 Hey guys, I'm using some css, filter:alpha(opacity=0); -moz-opacity:0; to add some opacity fade-ins to some links. Its completely compatible in the browsers I want them to work in and in Opera it just doesnt use any fade in so thats fine and still works. The problem is that those two lines wont validate with w3c's css validator because they are browser specific and not supported, is there a way I could hide the lines from validation? Thanks Quote
Kaula Posted October 15, 2006 Author Posted October 15, 2006 nevermind! I used javascript to write the lines that I didnt want parsed by the validator. Thanks Quote
carbonize Posted October 16, 2006 Posted October 16, 2006 Don't forget that a CSS file can be anything including a PHP file. You could of just used php for the css file and told it not to show the relevant lines when the W3C user agent was visiting. Irrelevant now I know but thought I would pass it on. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.