Another very good CSS practice to know is the "!important" attribute. It can be very useful, especially if you are using a CMS or wanting to make sure that a certain attribute of a class or id does not get overwritten.
I just have been doing a lot of website layouts lately at work and thought I would go over some very basic but important stuff when it comes to CSS. I will be showing you how to center a website using only CSS to do so.