NEWSFLASH!

Hi guys,

Hopefully you read some fun and helpful stuff here. This blog is mainly aimed at the novice, mediocre and pretending to be advanced css student. If you have comments, questions or anything don't hesitate to post them. If you are completely new to css, you might want to have a look at a free tutorial of a former student of mine, although it's not a book, it should teach you the basics to give you a head-start in building your very own website.

Any ways enjoy your stay guys,

If it's not here maybe on a new blog somewhere with a decent editor. or if you lads are really generous on a commercial website :)

Cheers!



Cssfreakie



Saturday, March 19, 2011

CSS CHECKLIST 6 points not to forget

Hi everyone,

I thought I leave a little checklist, which you could use when creating websites. Although some stuff might be obvious for some people, I see these things omitted on a daily basis when helping out others with their css and html.
Note though this list is not not limited to the stuff below, but it will definitely save you quite some time. Use the following in order.
  1. Always use a valid doctype! It should be on the first line if you view your source code in the browser.
  2. Place a reset.css above your own style! A reset.css is vital to eliminate browser differences.
  3. Use conditional comments to target versions of IE! (so don't use css hacks)
  4. Don't use inline style! (it's redundant, slower, chaotic and easier to make mistakes)
  5. Don't use tables for anything other than displaying data in an orderly way.
  6. Don't use a clearfix-div if you can use a overflow:hidden;
Hope this will save you a lot of time!
Cheers!

Cssfreakie

No comments:

Post a Comment