Oval/rounded edges on Div?

liunx

Guest
1. I thought I had seen this some place a while ago, but couldn't find it on the web. Can someone give me an example of a DIV that has rounded edges. The code should be able to control the roundness too. Also I would want to be able to put a 1pt. dashed border around it.

2. And, how about faking a shadow with CSS? (the code should be able to control the offset of the shadow too.

Thanks.-moz-border-radius, but it doesn't work in IE.These are proposed additions to CSS version 3, whenever that may get implemented:

<!-- m --><a class="postlink" href="http://www.w3.org/TR/2005/WD-css3-background-20050216/#the-border-radius">http://www.w3.org/TR/2005/WD-css3-backg ... der-radius</a><!-- m -->

<!-- m --><a class="postlink" href="http://www.w3.org/TR/2005/WD-css3-background-20050216/#the-box-shadowhttp://www.alistapart.com/articles/customcorners/">http://www.w3.org/TR/2005/WD-css3-backg ... omcorners/</a><!-- m -->

<!-- m --><a class="postlink" href="http://www.vertexwerks.com/tests/sidebox/">http://www.vertexwerks.com/tests/sidebox/</a><!-- m -->

<!-- m --><a class="postlink" href="http://www.albin.net/CSS/roundedCorners/#note1">http://www.albin.net/CSS/roundedCorners/#note1</a><!-- m -->
 
Back
Top