51 users online (1 members and 50 guests)  


  Results 1 to 4 of 4

Related

  1. Replies: 3
  2. How to round numbers    Forum: CGI Perl Forum
    Replies: 6
  3. overlapping corners with CSS    Forum: CSS Forum
    Replies: 3
  1. #1
    shariq222's Avatar
    Junior Member

    Status
    Offline
    Join Date
    May 2009
    Posts
    27

    How to create round corners in css

    Hi friends ,
    I use corner images to make corners rounded but I am not satisfied with this method .
    CAN ANYONE SUGGEST ME THE BETTER ALTERNATIVE .
    (do not mention radius method )

  2. #2
    gatafish's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2010
    Posts
    4

    Talking Re: How to create round corners in css

    Go here....

    Stu is the man when it comes to CSS....
    You can definitely learn alot from his site.

    http://www.cssplay.co.uk/boxes/

  3. #3
    FrankC's Avatar
    New User

    Status
    Offline
    Join Date
    Oct 2011
    Posts
    13

    Re: How to create round corners in css

    Quote Originally Posted by shariq222 View Post
    Hi friends ,
    I use corner images to make corners rounded but I am not satisfied with this method .
    CAN ANYONE SUGGEST ME THE BETTER ALTERNATIVE .
    (do not mention radius method )
    There are only two methods: with images and with border-radius. Unless you would want to employ heavy javascripting, but I wonder why you would prefer that, if border-radius is so simple.

  4. #4
    csxkiddman's Avatar
    New User

    Status
    Offline
    Join Date
    Oct 2008
    Posts
    11

    Re: How to create round corners in css

    without a doubt, you want to use the border-radius property. If you were to use a selector called #roundBox, you would do it like so:

    #roundBox {
    border-radius: 5px; } /*or whatever size radius you want*/

    That is by far the easiest method, but of course, IE8 and below does not acknowledge it, and some of the earlier versions of firefox and Chrome have to have other things needed, but browers that have been around for a couple years recognize it, and so do most smart phone OS.



Tags for this Thread