Regardless of what some people say, there is one area of rounded corners that hasn’t been dealt with much and that is rounding the corners of images. Before, if you wanted to round an image’s corners, you’d have to open it up in photoshop (or whatever image editor you use) and fix it up there. But no more…
Oftentimes I think people use different class names for different style-types, but when time comes to start styling, their CSS gets confusing. So for example, say I have a site with a couple of different sections and have several headers in each. Some of these headers will have a few similarities with each other, yet I’ll still want some in one section to look a little bit different than those in another section.
Note: Please realize that this post was written in 2006, and a lot has changed since then–including YUI Grids. I am not too familiar with how the framework works now, but I am told it’s much better than it was when I wrote this article. Also note that I am not against all CSS frameworks and am even known to use them occasionally myself.
So yesterday I published a post defending frameworks, saying that if they helped you out: use them. Well that was before Dustin mentioned that Yahoo’s created a CSS Framework. I checked it out…and after having done so, I now take back some of what I said yesterday.
I absolutely hate having to switch all the “< " and ">” signs in my code to “<” and “>”, respectively. I also hate having to write “&” anytime I want to include an ampersand. This makes including code snippets on my blog and whatnot extremely annoying, and today I finally got fed up.
Oftentimes one of the biggest excuses I hear from people as to why they don’t use CSS for all their presentation is that they have a really hard time getting it to work the way they want cross-browser. It’s a valid complaint–Thanks to Microsoft, it can be difficult to get your CSS to simultaneously work in multiple browsers.