HTML / CSS Resources

CSS: Style your <hr> tags with a background image

I find <hr> (horizontal rule) tags to be a nice semantic way to separate or break up content on a page. To give them some style, you can replace them with a nice background image.

Read More »


CSS clearfix: make a floated element automatically fill it’s parent container

Basically this trick ‘fixes’ the problem that occurs when a floated element doesn’t automatically fill out it’s parent container..

Read More »