Forum Moderators: not2easy

Message Too Old, No Replies

Which version of CSS should I learn?

         

Makaveli2007

1:46 am on Nov 24, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I asked a similar question about html and xhtml, but thought it'd be better to ask the CSS question in a separate thread in the right forum.

I've heard that using the latest version of CSS might not be a good idea, because all browsers don't necessarily support it.

Thus I'm wondering which is the latest version that is supported by all the major browsers? And is that also the version of CSS I should learn?

thank you

Makaveli2007

10:06 pm on Nov 24, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I read that CSS1 was fully supported by (almost) all browsers. Whereas CSS2 is CSS1 plus some additional features.
However some features of CSS2 aren't fully supported by most browsers, which caused problems and which is why they're working on CSS2.1 at the moment to get rid of those features.

So basically I assume I cannot make any mistake if I simply learn CSS1.

And if I feel like I need some more features I could learn additional features from CSS2, but should have a closer look which of those CSS-techniques are supported by the main browsers?

thank you!

[edited by: encyclo at 1:27 am (utc) on Nov. 25, 2007]

encyclo

12:46 pm on Nov 25, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think that you shouldn't attach too much importance to the version of CSS you are learning, as CSS1 is an integral part of CSS2. You should just learn "CSS", and you will discover which methods work in which browsers as you go along. Most browsers handle the core CSS2 rules well.