Chris Bolton
Chris Bolton

Reputation: 2926

Is there any way to get border-radius to validate?

Including the border-radius: num1 / num2; property gives a / is an incorrect operator error.

Is there any way to get this to validate?

Upvotes: 1

Views: 672

Answers (2)

Jo Sprague
Jo Sprague

Reputation: 17373

Take the '/' out. Instead of;

{border-radius: 1px / 2px;}

Do this;

{border-radius: 2px;}

That is the proper way to define border radius.

When in doubt, try http://border-radius.com/

Upvotes: 2

LostInQuery
LostInQuery

Reputation: 519

Are you validating against 2.1 or 3? http://jigsaw.w3.org/css-validator/ If you click on the More you can change the profile to CSS 3

Upvotes: 1

Related Questions