PDA

View Full Version : css curved border.


bfsog
02-27-2003, 03:33 PM
I am just toying with code etc, but I am trying to get a table with a curved border instead of like a rectangle / square etc, . Does anyone know how to set it?

brothercake
02-27-2003, 04:37 PM
There's a CSS3 declaration "border-radius", but no browser supports it; however Mozilla implements it with a proprietary synytax:

-moz-border-radius:4px

Here's what it looks like - http://www.brothercake.com/scripts/navmeister/page.php
(the navbar and menus all have it)

bfsog
03-03-2003, 08:58 AM
I read it in a book and it said browsers support it, just a curved line but not an image...

brothercake
03-03-2003, 05:10 PM
You can do it with vector graphics - VML in Win/IE5 or 6, or SVG in any browser which has the SVG plugin (or a mozilla build with native support)