I would even suggest simplifying your CSS3 down. Use one line for -moz-border-radius: 5px; and that will do all four corners automatically.
Also, add -webkit-border-radius in as well for browsers like safari. And, for semantics for if/when IE comes around, add border-radius as well so that it will work later after CSS3 is fully supported by all browsers.
Now if you wanted to do different corners at different raidii, use -moz-border-radius: 5px 6px 7px 8px;
This will change the set top-left at 5 and work it's way around clockwise. The same way it works there, it will also work in -webkit-border-radius.
Main Topics
Browse All Topics





by: gawaiPosted on 2009-09-18 at 12:29:46ID: 25369187
well your code only works with FF
anyway try this one
Select allOpen in new window