And no, thats not flexible enough... 4 divs breaks far to easily!!!
6 Divs works well enough though (two for either side, plus one for corner, ((one top long, one top short, same for bottom)))
Further, I don't think there ever will be an easier method of doing this.... not unless they are able to make CSS read images, emulate & replicate the data for varied output!
Also, just to pick a fight with any purists.... (
) .... how is making images 5 times the size better than code twice the size?
(I won't accept the answer of "they can turn images off"
)
well, if anyone ever does figure this out... give us a PM or something
Interesting posts, however, 6divs for round corners seems too much if you want to "round" a small box. For big text area, etc, - I agree - 6 is well enough.
Buttons can be done with 2, actually - 1 span and the link itself. I've seen this, but never used.
As long as dynamic sites are concerned - I will disagree. You can always plan your layout, set your css code in external file and make the php or asp or whatever you prefer generate exactly the same code you have planned.
You can always control your h1, h2, p, span, div, elements, etc, no matter if they are generated or not, but the requirement is that you make the generated code include the classes and id's. And it is not hard.
About the ammount of code added - the good thing is that you put it once and then control it.

Still you can't ignore it. Hopefully in css3 specs we will be able to do something like this:
<div style="border-corners: round 20%; background: primary color red, secondary orange, orientation top-to-botom; " >

but let's see
By the way, i think that mozilla supports round corners, however not pretty sure. Have you heard of it?