mscir wrote:
Eitan wrote:
Did you try google? I found this in < 1 min.
http://www.w3schools.com/svg/svg_ellipse.asp
I think the OP was looking for a CSS or similar method of creating an
element that has curved edges.
SVG is loaded as a totally separate object and can't be combined with
HTML objects, say to put curved corners on a rectangular DIV with a
border.
There is very little support for SVG in general, Adobe's viewer works
only in IE and Netscape 4. The Mozilla SVG Project has quite a way to
go, I wouldn't recommend them at all for general web users.
<URL:http://www.mozilla.org/projects/svg/>
If you want to draw graphics using JavaScript in a reasonably
browser-neutral fashion, try:
<URL:http://www.webreference.com/programming/javascript/gr/column2/>
However, this requires significant CPU resources but could possibly be
used to create rounded corners on a rectangular div. Run the "prop"
demo and watch your CPU usage rocket to 100%.
Again, a useful novelty but certainly not for use on your home page!
--
Rob