Category: HTML

Are CSS Frameworks Evil?

CSS, HTML, Tools | September 21st, 2010 | 75 Comments »

CSS frameworks have a tendency to be dismissed by many CSS authors; code bloat and non-semantic class names are usually at the top of the list of reasons why. Even without ever using one, I shared the same opinion, but that might have changed after trying a few of them out while doing some research recently…

(more…)

Books: “HTML and CSS Web Standards Solutions”

CSS, HTML, Project 52, Reviews | April 14th, 2010 | 6 Comments »

The second book I’m reviewing is “HTML and CSS Web Standards Solutions”, by web standardistas Christopher Murphy and Nicklas Persson.

(more…)

A Quick Note About the :empty Pseudo-class

CSS, HTML, Project 52 | March 14th, 2010 | 19 Comments »

I’m in love with the simplicity that CSS3 selectors can bring to our stylesheets. Here’s a brief explanation of one of my favourites: the :empty pseudo-class.

(more…)

How to use Modernizr

CSS, HTML, Tools | November 10th, 2009 | 134 Comments »

There is a tool that came to make our lives as progressive web designers a bit easier: Modernizr. In this short tutorial, learn how to apply this handy script to maximum effect on your sites.

(more…)

Belgian Beer Types, or How to Style a Definition List the CSS3 Way

CSS, HTML | July 30th, 2009 | 8 Comments »

Definition lists are an often forgotten HTML element, but they can be used in a wide variety of ways, and are actually the most semantically accurate element in many cases. So let’s see how we can mix up beer, HTML and CSS3, while explaining the purpose of the definition list element.

(more…)

Styling a Poem with Advanced CSS Selectors

CSS, HTML | June 15th, 2009 | 31 Comments »

CSS3 selectors offer endless possibilities of targeting specific HTML elements without the need of extra markup (which was already possible with previous versions of CSS). This time, I’m going to style the popular nursery rhyme “Twinkle Twinkle Little Star” using advanced CSS selectors, all in less than 5 minutes!

(more…)

Adding Style With CSS: Beautiful Text

CSS, HTML | April 25th, 2009 | 4 Comments »

This may seem like a no-brainer, but adding style to your HTML is not just about adding pretty backgrounds and borders. The foundation of a good looking site has to be, with a couple other things, the way text is set. So let’s see how, with just a few lines of very simple CSS, we can quickly make our type a bit more beautiful and easier to read.

(more…)

A Tidier Internet Explorer Stylesheet

CSS, HTML | January 31st, 2009 | 6 Comments »

Until recently, I used to separate my IE only stylesheets as ie6.css and ie7.css (and sometimes even ie.css), but lately I’ve been thinking a lot about how inefficient and long winded this process really is. It has made me realize that I could just as easily use IE CSS filters to my advantage, and merge these separate .css files into a singular Internet Explorer specific CSS file, which would be much more efficient in the long run.

(more…)

Adding Style with CSS: A Beautiful Table

CSS, HTML | January 31st, 2009 | 8 Comments »

I’ve always enjoyed styling tables. I’m a perfectionist when it comes to it and I just love the process of adding little bits of love and care to completely transform a dull and drab table into something fun, lively and pleasant to look at. This article will go into one of the diverse ways in which I style them and I hope it inspires you to make your own exciting tables.

(more…)

Adding Style with CSS: A Beautiful Form

CSS, HTML | January 31st, 2009 | 17 Comments »

Forms don’t have to be ugly and boring, and certainly don’t have to be inside tables to look nice and aligned.
In this post we’ll take look at how to style a beautiful form using the power of semantic HTML and CSS.

(more…)

Smashing Magazine Network