Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Sep 2002
    Location
    Scotland
    Posts
    407
    Thanks
    0
    Thanked 0 Times in 0 Posts

    "rounded" boxes in css??

    is there any CSS command to make a border 'rounded' at the corners instead of just plain old rectangular?

    I didn't think their was, so i ended up using tables with images instead. (A rather long winded code, but it works.)

    I'm wanting to replace these tables with DIV's now. any suggestions??
    My body's a temple... and like those ancient Greek ones it's a ruin
    sweenster.co.uk

  • #2
    Senior Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    1,963
    Thanks
    0
    Thanked 0 Times in 0 Posts
    First: A List Apart - Custom Corners w/ CSS

    Second (very browser specific):
    Code:
    /*--CSS*/
    
    #box{ 
        -moz-border-radius:2em;
    }
    ^Care of Vladdy

    I take no responsibility for the above nonsense.


    Left Justified


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •