News for hackers. Stuff that matters.
Re:CSS Rounded corners: 7 lines of code, without any images by ambition on Wednesday May 28, 2008 @12:05AM (#201761)
I've never hit a CSS rounded corners solution that met all my requirements:

* No image files (Extra HTTP requests/inflexible to colour changes)

* No extra markup (All the benefits of a clean DOM)

* Cross-browser without relying on parsing bugs (Supporting user choice is good)

* No pixel-based measurements (Visual designs should scale to different browser text sizes and screen resolutions)

Given that, any solution will involve some trade-offs. To me, some non-semantic HTML is a reasonable sacrifice since it is transparent to most users.

There are no comments on this comment yet.