I\'m editing a simple CSS file in VS2010 and the editor seems to have a rather limited understanding of CSS, for example:
#my-rule { position:relative;
You have a dropdown in the top menu where you can switch the css validation. It's called Cascading stylesheet version for validation. If you can't see it right click on the menu and check Style sheet so it will show.