Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Martin F. on Jun 29, 2007 14:15
open dhtmlx forum
Suggestion: Fixing Css alerts in Firefox

As a developer, I think it will be cleaner if the CSS errors that appear in the Javascript Console (Firefox) are somehow fixed it will be really cool.  The errors are always the same:
Error: Expected identifier for class selector but found '{'.  Ruleset ignored due to bad selector.
Source File: http://localhost/jslab/xgridpro/samples/pro_undo.html
Line: 13
Error: Error in parsing value for property 'cursor'.  Declaration dropped.
Source File: http://localhost/jslab/xgridpro/samples/pro_undo.html
Line: 14
Error: Unknown property 'filter'.  Declaration dropped.
Source File: http://localhost/jslab/xgridpro/css/dhtmlXGrid.css
Line: 125    ( Like this also 'border-left property )

I know this CSS alerts are not errors and appear because that CSS styles are for Internet Explorer. But maybe there is a nice way to avoid them like:
<!--[if IE]>
Load that special filter things for IE...
<![endif]-->
( I've read how to do this in : http://www.quirksmode.org/css/condcom.html
Best regards,
MARTIN
Answer posted on Jul 04, 2007 12:22
Thanks for reported problems - we will try to fix them where possible, but in any case it will not be ideal.

>>But maybe there is a nice way to avoid them like:

Yes, it can be done in such way, but in such case this style need to be manually added to any document where grid placed - this is not a good solution on my opinion.
Answer posted by Alexandra (Support) on Dec 04, 2014 07:33

Not much can be said in addition to the reply above, but you also can check ajax xslt and javascript menu download and find out what we have probably missed in our explanation.