Reputation: 29573
I have a site which has a lot of corners. I don't want to have to go through it and apply special rules to the specific divs.
I came across RoundRect at https://github.com/csnover/RoundRect
Sounded like a great idea.
But i keep getting error : Uncaught ReferenceError: RoundRect is not defined
For an example of what i am trying to see i have put up an example on js fiddle :
http://jsfiddle.net/uzi002/YSVF3/1/
Upvotes: 0
Views: 688
Reputation: 3262
This behaviour file could come in handy.
.slidecontrol {
behavior: url(http://example.com/css/border-radius.htc);
}
Put the file in your css folder.
Upvotes: 0
Reputation: 110
Have you considered using CSS3 PIE?
As I understand it, you had a single line to your CSS and the HTC file "enables" rounded corners in IE6+
Disclaimer - I'm in no way affiliated or associated with CSS3PIE or Sencha Labs
Upvotes: 1