HTML rounded corners without images and div nesting

Yesterday I had troubles to get an ASP.NET control to work with rounded corners in various browsers. IE and Firefox operate slightly different from each other, and to get it working (using ASP.NET themes) was quite a pain in the ass. Besides, it is not cool to have the obligation to change 4 images per control every time the design team has the bright idea to change website colors for some very good reason.

Luckily, at the end of the day, I discovered DD_roundies, a Javascript library perfectly taking care of my needs. Only in Opera this functionality does not function as wanted (no rounded corners), but that’s an issue Drew Diller is trying to address, according to his website. I definitely would suggest you to try for yourself if you would like an acceptable solution to the problem described hereabove.

The only thing that does not currently stop bothering me: unfortunately it is (still) not possible to have some javascript in an ASP.NET theme. Would that be possible, the solution would be perfect (for me). Perhaps somebody found a solution for me :P ?

5 thoughts on “HTML rounded corners without images and div nesting

  1. Bert Loedeman Post author

    @Janice Ann
    I think you should have a look at DD_Roundies’ website, it mentions something about Opera and rounded corners. If you definitely want rounded corners in any browser on the web, you should go ‘old-school’. However, that will cost you a LOT of time :)

  2. Janice Ann

    Hi,

    I have checked that website using IE, Firefox, Opera, and Safari. All work, except Opera.

    Did you use “moz-border-radius” as part of the html coding?

  3. Bert Loedeman Post author

    @Janice Ann
    Sorry for making you feel lost :) … What I actually mean is that each border on each ‘block’ control can be rounded if wished. You can take a look at http://www.ikzoekgoedezorg.nl (Dutch :) ) where my team implemented dd_roundies… Hope that helps you out, otherwise: ask for more information, I would be glad to help you out!

  4. Janice Ann

    I’m lost. What do you mean by getting an ASP.NET control to work with rounded corners?

    Do you mean the control’s borders are modified to be rounded? Or?

    I’m working on some ASP.NET as well. Just thought it might be useful to know something here.

    Cheerios, Janice

Comments are closed.