Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Learn The Basics of CSS Faster

Share this post!
 Vote this!

So you want to learn CSS ? The goal  of this article is to give a CSS beginner a basic understanding of not only how to use CSS but what it really is for.

- What is CSS?
- When do I use it?
- How do I use it?

These three questions are all a person would need to ask to receive the right information to learn even the basics of CSS.
So what is CSS?

CSS stands for Cascade Style Sheet and the name says it all. Every html document is made up of different elements. We use these elements to layout our content but we also use styles to bring visual life and structured rules to any element. Before CSS it was recommended to bring these styles and rules directly to an element by means of what’s called attributes.

Example of old attributes styles:
<img src="img.jpg" border="0" align="left" />

Notice “border” and “align” these are style attributes and they have style rules (0 and left). The problem with this is that a person could have let’s say 50 images on a single page and on all 50 images we have to declare the border and align attributes along with their style rules just to achieve our desired look.

Here is where the “Cascade” portion of CSS comes into play. With CSS you declare both the border and align attributes along with their style rules just as you would in the above example, but you do so only once not 50 times. CSS will take our two attributes and their style rules and cascade them down over an entire html documents images in one fell swoop.

This is all ground breaking if you ask me. CSS saves you time and that much-needed memory in a single html document for other things.

More...

MORE LINKS TO EXPLORE...


Learning Intermediate CSS Faster Than Ever.



Learning Advanced CSS Faster Than Ever

0 comments:

Post a Comment