How do you {bout CSS}

z.m123's picture
Round the edges on a div box?
Pistol's picture

-is curious too-

-is curious too-

Try asking Unplugged

Try asking Unplugged
z.m123's picture

Uhh.. *to lazy to dig up that

Uhh.. *to lazy to dig up that blog* xD

Not too sure. Try adding

Not too sure.
Try adding this to the code though:

-moz-border-radius : 20px 20px

Just change the numbers |D

Here ya go, Eye burning blog

Here ya go, Eye burning blog XD
z.m123's picture

Thank you both :'D

Thank you both :'D
Unplugged's picture

StarBright got the right

StarBright got the right code, you may want to use the full code though so you can see the rounded borders on all browsers:
-moz-border-radius: 20px; border-radius: 20px;

If you want to make every corner "individually" rounded, use it like this:
-moz-border-radius: 20px 5px 50px 100px; border-radius: 20px 5px 50px 100px;
Numbers in order go clockwise: Top Left; Top Right; Bottom Right; Bottom Left.
z.m123's picture

*Forgot to say..* Thank you

*Forgot to say..*
Thank you ♥