Round Boxes with Curvy Corners
CurvyCorners
Let's see a show of hands. How many of you have ever wished you could create rounded corners for your css boxes on the fly, without having to create a different .gif image each time? Me, too. Fortunately, it can be done with a free, open-source script called CurvyCorners. The curent version as of this writing is 1.0. Let's take a look at this little rascal and see what it can do for us.
First of all, you don't need to know any JavaScript to make this thing work. Just download it and call it up from the head of your html document. The script applies it's effect to any div that includes a radius command within it, as well as the supporting code that tells the JavaScript how to style the corners. The background-color declaration must be included inline. The border command will also only work inline, but you can remove that declaration if you don't want a border.
You could also define the dimensions and position of the box within that same style code. What's better (and is recommended by the authors of CurvyCorners) is to place the above div within another div, and call up the style code from the outer one. This script just seems to work better within multiple divs.
Let's see a show of hands. How many of you have ever wished you could create rounded corners for your css boxes on the fly, without having to create a different .gif image each time? Me, too. Fortunately, it can be done with a free, open-source script called CurvyCorners. The curent version as of this writing is 1.0. Let's take a look at this little rascal and see what it can do for us.
First of all, you don't need to know any JavaScript to make this thing work. Just download it and call it up from the head of your html document. The script applies it's effect to any div that includes a radius command within it, as well as the supporting code that tells the JavaScript how to style the corners. The background-color declaration must be included inline. The border command will also only work inline, but you can remove that declaration if you don't want a border.
You could also define the dimensions and position of the box within that same style code. What's better (and is recommended by the authors of CurvyCorners) is to place the above div within another div, and call up the style code from the outer one. This script just seems to work better within multiple divs.
So how does it work in a real-life web page? Like a charm, once you get the hang of how to put it all together. You see, although you don't need to know any JavaScript to use this, you do need to have a good working knowledge of css to put it to practical use. For example, you can't apply a padding declaration directly to the div, which means that your content might butt up against the edges of the box in ways you don't want. I found that it was necessary to insert yet another div within the inside box and set the padding from there. It's something of a hack, but you can get it to work that way. And, there's something of a learning curve with it, which is to be expected with anything useful. For example, I soon realized that any problems I was having was usually due to padding and margin settings being inherited from the parent class or id. I found that I could fix this by setting margins and padding to zero within that particular div.
Once it all comes together, you do have some well-crafted rounded corners on your div boxes. I've seen other similar attempts to round corners using a combination of JavaScript and css, but they just don't work as well as this one. The corners this script produces are very smooth due to it's anti-aliasing features. You can't tell you're not looking at .gif images. This is one of the better open-source scripts out there right now.
You can get a lot of your questions answered by browsing their website. They include updates, instructions for implementing the script, as well as a comment feature for you to post questions and interact with the script authors. This blog-like comment feature works, but you have to scroll through a long line of comments to see questions being answered. A forum format might work better, and would allow experienced users to interact with others who are new to the script. But that's being nit-picky. You will probably find the answer to your questions in their existing comments.
What I like:
Bottom Line: If you're more comfortable coding than graphic design, you need to have this script in your arsenal of web design tools.
Once it all comes together, you do have some well-crafted rounded corners on your div boxes. I've seen other similar attempts to round corners using a combination of JavaScript and css, but they just don't work as well as this one. The corners this script produces are very smooth due to it's anti-aliasing features. You can't tell you're not looking at .gif images. This is one of the better open-source scripts out there right now.
You can get a lot of your questions answered by browsing their website. They include updates, instructions for implementing the script, as well as a comment feature for you to post questions and interact with the script authors. This blog-like comment feature works, but you have to scroll through a long line of comments to see questions being answered. A forum format might work better, and would allow experienced users to interact with others who are new to the script. But that's being nit-picky. You will probably find the answer to your questions in their existing comments.
What I like:
- Good, clean JavaScript called up from an external document
- Relatively small file, about 25k
- Corners are anti-aliased
- Degrades nicely in browsers with no JavaScript
- Cross-browser support
- Online documentation and support
- Corners styled via inline commands, rather than being called up from an external style sheet
- Use of non-standard code within the html document: "Radius", which is actually defined in the JavaScript code, but causes the html page to be invalid.
Bottom Line: If you're more comfortable coding than graphic design, you need to have this script in your arsenal of web design tools.

42 Comments:
Are you accepting comments, i am not seeing any comment.
- John Devos
Magento Themes
By
Jhon, at 12:46 PM
These kind of layouts are in nowadays, I don't know why, computers screen is mostly square then why.
- Tanya
Web Designers
By
Web Designers, at 10:04 AM
Hey great post enjoyed reading the post you wrote a lot, really well done keep up the good work.....
Magneto Themes
By
Magento Templates, at 3:07 PM
nice post. amazing post.really enjoyable. keep doing such good work.best of lucksar
By
Electric Cigarette, at 9:41 PM
ESG Appliance is an appliance repair and service company operating in the Los Angeles and Orange counties and providing Installation, Service and Maintenance for appliances like Ice Maker, Microwave Oven, Washer Dryer
By
Harry, at 4:01 AM
Get your Free Credit Score Report - free for 30 Days. Unique anti-ID theft security measures included in this fantastic package as part of the service. Free Credit Score Report
By
Harry, at 10:40 PM
Thanks for taking this opportunity to discuss this, I feel fervently about this and I like learning about this subject.childrens furniture
By
Harry, at 2:04 AM
Thank you for such a wonderful post. I enjoyed every bit of it.televisori lcd
By
Harry, at 12:52 AM
I am amazed to see such an amazing post. Keep up the good work.dryer repair
By
Harry, at 12:40 AM
amazing post guyz i really enjoyed reading it
Discount Steel Buildings
By
Chloe, at 6:39 AM
great post exactly what I want to read it. thank
Thank
Regards
Poh
Cuisinart TOB-195
Acne Conglobata
Acer 11.6 Netbook
500 payday loan
acne inversa
VIZIO M261VP
checkmate payday loans
By
Anonymous, at 12:30 AM
Great thought
By
Web Design Companies, at 3:56 AM
This sort of layout are very much in fashion in today time thanx
By
rushmore casino, at 12:34 AM
Counter Depth French Door Refrigerator
How to Get Into Acting
Breville Smart Oven
How to Impress Woman
Picking Lottery Numbers
Canon Powershot A800
Adidas Barricade
Cuisinart TOB-195
Acne Conglobata
Acer 11.6 Netbook
500 payday loan
acne inversa
VIZIO M261VP
checkmate payday loans
Pengurusan Masa
How To Stop Panic Attacks
Didik anak
Langsing
Adidas Barricade 6.0
Adidas Barricade V
By
Anonymous, at 11:19 PM
A great post, just love round boxes with curvy corners.
Hair Transplant Islamabad
By
jhon, at 5:22 PM
Your layout is very nice.
Good work
By
bwin poker, at 12:03 AM
Keep sharing good layouts dude.
By
chanel 2.55, at 12:04 AM
Hi,
You Got awesome writing skills, and your contribution is really appreciatory, keep it up
By
leadership solutions, at 7:56 AM
It is a very interesting topic that you’ve written here.
The truth is that I’m really related to this, and I think this is a good opportunity to learn more about it.
By
black jack games, at 11:52 PM
It is a very interesting topic that you’ve written here.
The truth is that I’m really related to this, and I think this is a good opportunity to learn more about it.
By
play roulette, at 1:11 AM
Nice information, many thanks to the author. It is incomprehensible to me now, but in general,
The usefulness and significance is overwhelming.
Thanks again and good luck!
By
poker game, at 5:21 AM
Hello,
People who sacrifice their time to acknowledge other are really very great and you are doing the same thing, so hats off to you. Keep it up.
-------------
slot machines
By
slot machines, at 5:25 AM
It’s a Good blog and congrats on having good Information, Keep it up! Thanks for sharing your knowledge with us!
By
phone casino, at 6:32 AM
The layout is very nice. I will try to make one like.
By
mobile phone bingo, at 6:49 AM
It is a very interesting topic that you’ve written here.
The truth is that I’m really related to this, and I think this is a good opportunity to learn more about it.
By
It is a very interesting topic that you’ve written here. The truth is that I’m really related to this, and I think this is a good opportunity to learn more about it., at 12:15 AM
Thank you for such a wonderful post.
I enjoyed every bit of it
By
Party Casino Bonus, at 12:29 AM
Hello,
Very nice post. I like your blogging techniques and have bookmarked this blog as found it very informative. Keep it up.
By
free casino comps, at 12:37 AM
Hi,
Nice post! Your content is very valuable to me and just make it as my reference. Keep blogging with new post! Unique and useful to follower.
The post is very interesting. It was very helpful for me.
Thanks
By
online poker forum, at 12:45 AM
Hi,
Fantastic blog, Love your blog.
I will share your blog with my friends. Keep it up with good work. Thanks a lot.
By
mobile phone bingo, at 8:52 PM
Wow. Fantastic article, it’s so nice and your blog is very good.
I've learned a lot from your blog here, you’re provided blog is very super perfect i really like it. Keep it up and Thanks you for sharing......!
By
slot machines, at 9:09 PM
Wow, it is really fantastic. I have used it. It is looking so cute. Love your blog.Best wishes for you future blogging career. Thanks
By
roulette games, at 9:34 PM
Thanks for sharing such useful information. It seems that you did a lot of hard work for this article. Keep it up.
By
black jack games, at 9:54 PM
It’s a Good blog and congrats on having good Information, Keep it up! Thanks for sharing your knowledge with us!
By
mobile casino, at 10:08 PM
Thanks for sharing such useful information. It seems that you did a lot of hard work for this article. Keep it up.
By
mobile poker, at 10:20 PM
The post is very interesting. It was very helpful for me.
Thanks
By
Poker Sign Up Bonus, at 10:46 PM
Hi,
Fantastic blog, Love your blog.
I will share your blog with my friends. Keep it up with good work. Thanks a lot.
By
Party Casino Bonus, at 10:56 PM
Hello,
Very nice post. I like your blogging techniques and have bookmarked this blog as found it very informative. Keep it up.
By
free casino comps, at 11:07 PM
Interesting and important information. It is really beneficial for us. Thanks
By
online poker forum, at 11:18 PM
You write really good articles, very attractive, I feel very shocked. I hope you can continue with your work, come on!
By
Free Casinos, at 4:06 AM
Thanks for the sharing. Very Great article skill, Beautiful thoughts.
By
Online slots, at 1:06 AM
Hello,
That is very informative post which i was expecting from You and you did outstanding blog sharing. I enjoyed reading it. Great work.
By
party poker bonus code 2012, at 9:18 PM
a very informative layouts of your post. A great post i really enjoyed to read this post.
By
Casino online, at 9:25 PM
Post a Comment
<< Home