Rounded Corners
This script will generate rounded corners with any <div> element. All the corners are anti-aliased, and support borders of any width and color. The script also degrades nicely leaving tidy square corners. No images or CSS required.
This script will generate rounded corners with any <div> element. All the corners are anti-aliased, and support borders of any width and color. The script also degrades nicely leaving tidy square corners. No images or CSS required.
Want some recognition for your scripts?
Submit them to JavaScript Source!
Leave a Response
(2 comments)i look forward to using this code in many websites , thanks
I am a novice with scripts and I have a question regarding this sentence. "The script also degrades nicely leaving tidy square corners." Why and when does the script degrade? Will the corners not stay rounded? Sincerely Carroll