I live in a web-standard world.

Archive for the ‘CSS’ Category

Hide Overflowing Floats

November 12th, 2008 | CSS | 2 Comments »

Floating elements on a page is easily the most common way to achieve columned layouts on the web. You can also use the position property, but I find floating to be far better to keep the element in the flow of the page.

One problem that shows it self a lot, is when you have floated items inside a container, and that container has a background. You will find that the container does a poor job of containing the floated items.

Styling Status Messages for Your Application

August 20th, 2008 | CSS | No Comments »

Status messages are quite common in web applications. It can be very useful for the user to get feedback from his input. And it’s a good idea to style some status messages in a way that makes sense according to their message.

This is an Informational message.

Image Replacement and Backgrounds

June 17th, 2008 | CSS | 1 Comment »

Having been around the CSS playground for a while now, I’ve seen the different techniques of image replacement, and I’d like to share my methods of doing so, and why I do so.

Semantic Mark-up

May 29th, 2008 | CSS | No Comments »

We see valid code popping up all over the place. And that’s great! Web standards should be followed by everyone. But, is it possible to make your code pass W3C’s validator without actually meeting the standards?