How do I know CSS tutorials are still good?

I know the latest HTML is HTML 5. But what is the latest version of CSS? And is HTML 5 the same as XHTML?

I see many great tutorials on CSS linked to this forum. But many go back to 2007. How do I know if those tutorials are still good for today’s CSS?

Thanks

In addition to the above, it’s not worth bothering with HTML5 at the moment, while as you stated it’s the most recent version, the problem is that it’s not a complete language yet, their still working on it! Would you use a beta product in your production environment (if you need something you can depend on), no you wouldn’t. No older browsers work with the language, and modern ones are still adapting too it which means a HUGE number of your visitors (over half) will not be able to view sites using it properly. As for the CSS, that’s something entirely different… unlike HTML, each new version of CSS doesn’t replace the last one, CSS works as language layers, what this means is that each version builds upon the last adding useful functionality (nothing is removed). What this means is, if you use CSS3, it will also support CSS2.1 and CSS1, just like CSS2 works with CSS1. The problem with what you’re attempting is you seem to be stuck in the mindset that newer immediately means better, that isn’t the case at all, just because CSS3 or HTML5 appears, doesn’t mean that HTML4 and CSS2 shouldn’t be used. Languages aren’t deprecated based on their age, and until the latest versions of HTML and CSS are complete, you’re entering the bleeding edge which has compatibility issues.

HTML is NOT the same as XHTML . simply put XHTML is a form of XML derived from HTML which closely resembles HTML, but can be extended. there are also subtle different requirement in the mark up of some tags.

the current standard for CSS 2.1. CSS3 is the latest DRAFT of CSS. and it’s support varies across browsers tho, IMHO, cross-browserrsupport fo CSS3 is developing more consistently than it’s predecessor. It’s important to note what DRAFT means… it means that EVEN if something it’s supporeted across browser the DRAFT itself could change and not vbe part of the final CSS3.

As far tutorials go, if you are just starting to learn CSS, old tutorial are still good. CSS is not mutation or losing functionality, so it’s not like any declaration that you learn while learning CSS2 wont be usable in CSS3. infact, I would think OLD tutorials are BETTER.

WHY?!?!?!?

Well, I love playing around with the new powers of CSS3, but the truth is over 50% of web user are not using css3 capable browsers. So it’s better to be able to understand HOW to do something using the older version of css. and then be thankful for the newer version of CSS once it is widely accepted.

The BEST tip I can give is … while learning … no matter ow difficult it may seem … KEEP “separation of style and content” in mind at all times. This way you can improve you style sheets without having to recode your pages …