Open Source Tutorials - Open Source Training
Open source training & tutorials from experienced, passionate people
chrome icon firefox icon ie icon opera icon safari icon Sings in these Browsers
A- A A+

By A Web Design

Welcome, Guest
Username Password: Remember me

How to make rounded corner using CSS
(1 viewing) (1) Guest
All your queries regarding CSS will be solved in this forum
  • Page:
  • 1
TOPIC:

How to make rounded corner using CSS

How to make rounded corner using CSS 1 year, 6 months ago #301

  • palak
  • OFFLINE
  • Senior Boarder
  • Posts: 55
  • Karma: 0
hi

I am trying to make rounded corner rectangle using css. I am not able to make it , can anyone tell me how can I do that?

Re: How to make rounded corner using CSS 1 year, 6 months ago #328

  • sandhya
  • OFFLINE
  • Senior Boarder
  • Posts: 42
  • Karma: 0
Firefox, Safari and Chrome all support rounded corners through native CSS methods. But in IE it doesnt work.

The following is the CSS codespec in which border-radius of 30 pixels is applied to the container div with the class ’rounded-corners’:

.rounded-corners {
-moz-border-radius: 30px;
-webkit-border-radius: 30px;
-khtml-border-radius: 30px;
border-radius: 20px;
height:100px;/* height value can be according to your requirement */
width:500px;/* width value can be according to your requirement */
border:1px solid #000000;
}

Hope this works for you..
  • Page:
  • 1
Time to create page: 1.92 seconds
OSV Newsletter


Receive HTML?

NOTE: To prevent subscription to the OSV newsletter, uncheck the checkbox above.
Guest Blog for OSV
Free Ebook Download