PDA

View Full Version : Round Corners Div



Shoaib
09-19-2007, 04:33 AM
1) CODE TITLE: Round Corners Div

2) AUTHOR NAME/NOTES: Muhammad Shoaib Patel

3) DESCRIPTION:
This javascript will help you to create div with round corner without using image and .css file. Few lines of javascript codes will create rounded corner for a div on the fly. Just pass the parameters (div id and which corner i.e. LT=LeftTop or RT=RightTop or LB=LeftBottom or RB=RightBottom you want to round) to the javascript function and you will have it. The attached sample file round_corners_div.aspx will show few examples. This javascript was only tested on Microsoft Internet Explorer version 6.0 in VWD 2005 Express Edition environment. This is a free javascript distributed in the hope that it will be useful but without any warranty.

4) URL TO CODE:

or, ATTACHED BELOW (see #3 in guidelines below):