|
Posted by dorayme on 07/03/07 01:58
In article
<1183415053.154990.156910@a26g2000pre.googlegroups.com>,
oldbones55@hotmail.com wrote:
> I'm in the beginning stages of learning CSS but I'm just not seeing
> why I would use this. So far everything I've learned I can simply do
> in HTML. What is the advantage of CSS? Any good CSS for "dummies"
> sites? Thanks.
A primary idea is division of labour. There is the basic
material: what you want to say, pictures, to show off or to
illustrate things. This is the html in as basic a form as you can
get. Headings, paragraphs, lists, pics. Then there is the styling
of all this. The same basic content can be styled in a variety of
different ways. You might want different styles for different
purposes at the same time (publishing the same basic things for
different audiences).
Take a look at <http://www.csszengarden.com/> to get the genral
idea.
If you mix up all your content with style and you later want to
change the style, it is a more difficult thing because you have
to dive in all over the html place, whereas, if you have done a
good job in the html and the style is controlled from a style
sheet, there is a central place you can operate on to fashion a
different style. It is also easier to add content to an html page
or add html pages knowing that you do not have to repeat all that
style information. It has already been taken care of, all you
paragraphs you have already said are to be indented or whatever
(in the css sheet). You will get the idea.
--
dorayme
Navigation:
[Reply to this message]
|