Jump to content

Recommended Posts

Posted

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

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...