468x60-2

Taming Advanced CSS Selectors Tutorial PDF Print E-mail

CSS is one of the most powerful tools that is available to web designers (if not the most powerful). With it we can completely transform the look of a website in just a couple of minutes, and without even having to touch the markup. But despite the fact that we are all well aware of its usefulness, CSS selectors are still not used to their full potential and we sometimes have the tendency to litter our HTML with excessive and unnecessary classes and ids, divs and spans.

The best way to avoid these plagues spreading in your markup and keep it clean and semantic, is by using more complex CSS selectors, ones that can target specific elements without the need of a class or an id, and by doing that keep our code and our stylesheets flexible.

Source: http://www.smashingmagazine.com/2009/08/17/taming-advanced-css-selectors/

Add this to your website
 

Add comment

Please keep your comments relevant to the topic. Email addresses are never displayed, but they are required to confirm your comments.
In order to comment without Captcha requirement, please register.
To create a live link, simply type the URL (including http://) or email address and we will make it a live link for you. You can put only 1 URL in your comments. Line breaks and paragraphs are automatically converted.


Security code
Refresh

Statistics

Members : 65
Content : 1495
Web Links : 360
Content View Hits : 2698291

About Hook4Free

Hook4Free was initiated to give information about freebees for everyone who needs them. Free Icons, Free Templates, Free Images and many more...