Why is it that many people with solid coding skills consider CSS to be difficult? Simple - most of us learned a mongrel mutt hodge-podge version of coding that combined "real" (very simple) HTML with proprietary browser tags invented to make web pages look pretty (style over substance) and other abusive code practises. We were led to believe this was normal when in fact it was far from it. But those days are now long gone as technology has grown past the limitations of the web's infancy. Now it is up to us to focus on the difference between structure (substance) and style.
CSS is simply the proper means of allowing us to determine the appearance of our web pages. We do this this with style declarations. A group of style statements is a stylesheet. Once we declare a style at any level, such as the body, it cascades down to lower levels, such as divs and paragraphs. Thus we have Cascading Style Sheets or CSS.
We already know how to do this. For example, we know how to write a body tag and we know that the attributes we put on a body tag will hold true unless we specify elsewhere. We are just going to replace attributes with properties.
In the following lessons we shall learn how to replace attributes that we already know with CSS step by step. As we do so, we'll tighten up our coding and learn the significance of some tags we already know.
Happy coding!
Gnubee