Conditional Classnames
Monday, November 3rd, 2008
Actually saw this on Eric Meyer’s web page, but I thought it was kinda cool.
While it eliminates the need for an extra HTTP request, it also means that the CSS style sheet will have to be larger for both IE and other browsers. Still, that’s probably faster than two HTTP requests.
