DD_roundies: Code-only rounded HTML boxes
I knew I wanted to have rounded corners on this site, but I also knew that they can be a pain to get working cross-browser. Firefox uses the -moz-border-radius property, Chrome and Safari -webkit-border-radius, and CSS3 compliant browsers are supposed to use border-radius but I have yet to see one that actually does. Usually, background images or rounded corners are sliced up and positioned via background properties but I wondered if there was an easier way that didn’t involve adding a mess of HTML “just” for rounded corners. The library linked above does that. It uses IE’s implementation of VML, a competing standard to SVG that only Microsoft supports. If a browser doesn’t support either VML or the Firefox/WebKit CSS properties, it gracefully downgrades to squared edges. (Opera, I’m looking at you)