954,591 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

A workaround for -moz-border-radius: and -webkit-border-radius: with W3C Validation

Hi there,
Is there a workaround for -moz-border-radius: and -webkit-border-radius: which will then be validated by W3C CSS?
Thanks for your help.

Kind regards

John

TLCJohn
Newbie Poster
22 posts since Sep 2009
Reputation Points: 10
Solved Threads: 0
 

REMOVE those "invalid" definitions from your initial CSS file. Instead, add them dynamically through javascript (by importing a "supplemental.css" file - http://www.hunlock.com/blogs/Howto_Dynamically_Insert_Javascript_And_CSS ). The validator will not execute javascript so it should validate only the "good" css.

hielo
Veteran Poster
1,124 posts since Dec 2007
Reputation Points: 116
Solved Threads: 244
 

Hi hielo

Thank you for the answer.

Kind regards

John

TLCJohn
Newbie Poster
22 posts since Sep 2009
Reputation Points: 10
Solved Threads: 0
 

I know thtis is solved, but that's a little naughty isn't it hielo? Tsk tsk.

diafol
Rhod Gilbert Fan (ardav)
Moderator
7,795 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: