css


Import Other Stylesheets from within a Stylesheet

This article from Smashing Magazine shows how to use CSS Imports to include other css files in you stylesheet.

 /*——————————————————————[Master Stylesheet] Project: Smashing MagazineVersion: 1.1Last change: 05/02/08 [fixed Float bug, vf]Assigned to: Vitaly Friedman (vf), Sven Lennartz (sl)Primary use: Magazine——————————————————————-*/@import "reset.css";@import "layout.css";@import "colors.css";@import "typography.css";@import "flash.css";/* @import "debugging.css"; */ 

Eric Meyer’s CSS Reset

Eric Meyer's CSS Reset

This little bit of code from Eric Meyer is very helpful when building a website that is compatible with many different browsers. Ehem… less than IE 7. I did say helpful (not a cure). Create a new .css file (ex. reset.css) and use a meta link to call it before your main css file.
 
<link rel="stylesheet" [...]