Help - Search - Members - Calendar
Full Version: What CSS to learn ?
HTMLHelp Forums > Web Authoring > Cascading Style Sheets
djolenene
Hi my name is Dorde.
I'm just about to start learning CSS, I just need someone to explain to me what generation to start with 1, 2, or 3. As I understand CSS1 is not supported by old browsers, CSS2 is not completely supported by newer browsers. So where do I start. I assume difference is not big between but I'm not sure if I want to learn all 3.
Any suggestions much appreciated.
Darin McGrew
The current W3C recommendation is CSS 2.1, so that's a good place to start. Most modern browsers support it fairly well, but MSIE may require a few workarounds. The more you insist that MSIE users get the same presentation as those who use modern browsers, the more workarounds you'll need.
djolenene
Thank you for your time. I will certainly follow your advice.
pandy
Candidate recommendation. tongue.gif

I think CSS 1 is a good place to start, because it will give you the basics. I don't mean you should read the old spec from start to end, use the newer one by all means, but if you start with limiting your learning to the properties and selectors that were available in CSS 1, you'll get a good start. It isn't like a newer spec makes older ones obsolete. There may be some changes of more esoteric nature, but the properties and selectors in CSS 1 are in CSS 2 as well.


I think the CSS 1 reference on this site still is a good introduction. I'd start there. Text formatting, colors, backgrounds - that's probably what you want to begin with.
http://htmlhelp.com/reference/css/
Darin McGrew
QUOTE
Candidate recommendation.
Ah, thanks.

I second pandy's advice to start with the basic stuff that is in both CSS 1 and CSS 2.1. In general, I recommend starting with simple things first (colors, borders, margins, padding) and working up to more complex things as you need them.

Ignore anything that was added to CSS 2, but which was removed in CSS 2.1. These features were removed because browser support was lacking.

Browsers support CSS better if you keep them in standards mode, rather than strict mode. See Activating Browser Modes with Doctype.

It also helps if you include all the optional closing tags (e.g., </p>, </li>, </td>), especially with MSIE. I have automated tools that do this for me when I update my personal site.
pandy
QUOTE(Darin McGrew @ Jan 15 2009, 10:10 PM) *

QUOTE
Candidate recommendation.
Ah, thanks.


I take that as an excuse for not bothering with it. I haven't forgiven them for what they did yet. mad.gif biggrin.gif
mikee
anybody can me give any good tutorial regarding CSS .....so i can learn CSS
Frederiek
Apart from the CSS reference and the FAQ on how to learn CSS, go see http://www.westciv.com/style_master/house/index.html.
chhayal
Hi

You can find nice CSS video tutorial series free at http://www.abctutorial.com/category/css/cs...ideo-tutorials/
pandy
Looks like more of a DreamWeaver tutorial. You need to make those videos larger and sharper. It's hard to read the text.
EisBear
What CSS to learn?

Good question. CSS 2.1 is the current recommandation, but not all commonly used browsers (IE, Firefox, Opera, Safari) support it.

There are some references that lists the available properties with browser support information.

I recommend you this site:

style properties

pandy
QUOTE
Good question. CSS 2.1 is the current recommandation


Still isn't. tongue.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.