Page elements with Rounded corners without images

I was browsing around the net last night and found a link to an interesting resource which shows you how to get rounded corners for your web page elements without resorting to the need of using transparent gif images to replace the corners to make it “look” rounded.

First off, have a look at this page:

http://pro.html.it/esempio/nifty2/nifty10js.html

Looks pretty promising, and you can see that they’ve been able to create this effect on all modern browsers (IE6/IE5.5/FireFox/Opera/Safari).

Here’s the article that I was looking at:

http://pro.html.it/print_articolo.asp/id_599/stampa.html

It appears that the author has utilised both JavaScript and CSS to generate the rounded effect!

Cool :)

Also, it appears with this solution you can specify which corners you want rounded. And if you don’t have JavaScript turned on, you’ll still get the content and everything, but you lose the rounded corners.

One Response to “Page elements with Rounded corners without images”

  1. Oliver Says:

    Many thanks for finding this :D !