CSS Problem.

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
houndbee
Regular
Posts: 18
Joined: Fri Apr 30, 2004 4:53 pm
Location: Bangalore, India
Contact:

CSS Problem.

Post by houndbee »

My CSS does not validate because of this line in the standard template's CSS.

Code: Select all

-moz-border-radius: .0em 0em 1em 1em;
Is there a way to achieve this by using standard CSS tags and not browser specific tags?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: CSS Problem.

Post by garvinhicking »

houndbee wrote:My CSS does not validate because of this line in the standard template's CSS.

Code: Select all

-moz-border-radius: .0em 0em 1em 1em;
Is there a way to achieve this by using standard CSS tags and not browser specific tags?
It could be achieved by 'emigrating' the -moz-code to a seperate file and then importing it via JavaScript. This way it would be hidden from the validator, but that's still not the core problem.

The core problem is that browser-devs have used a CSS-incompatible way of specifiying their attributes. IMHO either browsers need to change it or the CSS validator needs to pay regards to that definition...

Regards,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
houndbee
Regular
Posts: 18
Joined: Fri Apr 30, 2004 4:53 pm
Location: Bangalore, India
Contact:

Re: CSS Problem.

Post by houndbee »

garvinhicking wrote:It could be achieved by 'emigrating' the -moz-code to a seperate file and then importing it via JavaScript. This way it would be hidden from the validator, but that's still not the core problem.
Garv, How would I do this? I tried a couple of methods but couldn't quite figure it out. :(
Post Reply