how do i make a divbox have round corners and not just in firefox?

5 answers

2
points
This was chosen as the best answer

I would go with CSS3 approach with border-radius:

-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;

That will hit many of the browsers, of course missing IE.

Answered about 7 years ago by Thomas J Bradley
1
point

Along with the CSS3 you can also add the script here for older browsers - http://curvycorners.net/

Answered about 7 years ago by Barry Amundson
1
point

This trusty solution is also pretty neat, and it can be done with PNG-images nowadays: http://www.alistapart.com/articles/mountaintop

Answered about 7 years ago by Jens Hedqvist
1
point

To make them work across most modern browsers, use the CSS3 solution Thomas J Bradley put forward on the post above. dd_roundies seems like quite a nice solution to the IE problem.

Answered about 7 years ago by Olly Hodgson
0
points

why not use jQuery? http://malsup.com/jquery/corner/ I've used it successfully in IE6+. Very easy to configure.

Answered about 7 years ago by Stephan Hovnanian