[css-d] reserved words as properties?

2007-10-17 Thread Brian Cummiskey
Hi all,

Just ran into this while working on an automotive tab.  The grafic for 
it is called auto.gif

#topnav a#tn_auto {
background: url(/grafx/auto.gif) no-repeat 0 0;
}

My editor highlighted auto.gif in the background url, due to auto 
being a reserved word.


It seems to work in my browser no problem, but i'm wondering if anyone 
has some insight or seeing this cause a problem with something down the 
line.

Thanks
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] reserved words as properties?

2007-10-17 Thread Nick Fitzsimons
On 17 Oct 2007, at 14:32, Brian Cummiskey wrote:

 Just ran into this while working on an automotive tab.  The  
 grafic for
 it is called auto.gif

 #topnav a#tn_auto {
 background: url(/grafx/auto.gif) no-repeat 0 0;
 }

 My editor highlighted auto.gif in the background url, due to auto
 being a reserved word.

 It seems to work in my browser no problem, but i'm wondering if anyone
 has some insight or seeing this cause a problem with something down  
 the
 line.

It's a bug in your editor; even IE doesn't have _that_ degree of a  
problem parsing CSS.

Assuming your editor isn't so cheeky as to auto-correct it (pun  
inevitable, I'm afraid) to something else, it won't be a problem.

Regards,

Nick.
-- 
Nick Fitzsimons
http://www.nickfitz.co.uk/
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] reserved words as properties?

2007-10-17 Thread Brian Cummiskey
Nick Fitzsimons wrote:
 It's a bug in your editor; even IE doesn't have _that_ degree of a  
 problem parsing CSS.
   

Thanks Nick.

I'm using (a surely out-dated version of) Edit Plus.

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/