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

Recommended Answers

All 3 Replies

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.

Hi hielo

Thank you for the answer.

Kind regards

John

Member Avatar for diafol

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.