This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
Detecting and Hiding PNG Support in CSS?
Started 14 years ago by samerbazzi | 8 posts |
-
I have one CSS issue in the CSS File, Basically Firefox complains about the PNG File Function, is thier a way in the CSS file to detect and only show this in IE?
I have the browser detection code but I am not sure if it is allowed or standard to put this in the CSS file?
This seems to be the only compliance issue I have in Fire Fox.
Let me know if this is possible and again, thank you for the amazing support!@
-Sam
Posted 14 years ago # -
What complains from Firefox are you referring to?
MachForm Founder
Posted 14 years ago # -
its the IE PNG support, its no problem, I want to keep it in there, but how do I hide it from firefox, how do I add conditional comments in the CSS file, is this possible?
-Sam
Posted 14 years ago # -
Firefox should ignore those code already, so there is no need to do further hacks.
I'm wondering, what error message exactly are you getting from Firefox? I don't see any error or warning so far.MachForm Founder
Posted 14 years ago # -
Warning: Unknown property 'behavior'. Declaration dropped.
Source File: http://....com/form-lead-management/data/form_3/css/view.css
Line: 86Posted 14 years ago # -
Let me know please.
Posted 14 years ago # -
Sorry, but I'm afraid it won't be possible to have conditional property within the CSS. Are you using Firebug to get that warning?
I think by default Firebug won't display any Javascript warning (most normal users won't have this either) so you can safely ignore this warning. Since this is not an error which would stop the Javascript execution.
MachForm Founder
Posted 14 years ago # -
okie, no problem, thank you,
-Sam
Posted 14 years ago #
Reply
You must log in to post.