1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cool way to get round edges - css3

Discussion in 'Web Design' started by sapmi, Sep 24, 2011.

  1. sapmi

    sapmi Junior Member

    Joined:
    Mar 3, 2008
    Messages:
    173
    Likes Received:
    26
    I've used this for my widgets in Wordpress and it works a treat. I haven't tried this in internet explorer 9 yet. I want to avoid using his internet explorer "hacks", they sound too messy.



    #example1 {
    -moz-border-radius: 15px;
    border-radius: 15px;
    }

    You need the "moz" for firefox. As I said this should work in IE9. You can implement this in wordpress under styles.css. For example:

    .widget {
    -moz-border-radius: 15px;
    border-radius: 15px;
    }



    Feel free to ask any questions about this if you are not sure how to implement this or you are completely confused.