Click here to Skip to main content
12,697,076 members (29,846 online)
Rate this:
Please Sign up or sign in to vote.
hey guys!
i have a problem with my visual studio that is teasing me!
when i change my css version to 2.1, i work well but after some minutes it change back to 1.0.0 version automatically so so many properties of css do not work on my pages!
as well often i set my css version to 2.1 but just on my css file properties work and on my pages when i am using inline style sheet dnt work (on my .aspx pages the css version is 1.0.0 but i want it become 2.1)
what is problem? :s anyone can help me?
another thing is that i want update my visual studio to use HTML5 or CSS3 but i dont know how can i do it ! please say me how can i use css3 or HTML5 on my VS when highest Version of CSS is 2.1 and HTML is 4.1 in my VS ...!

Posted 22-Jul-12 16:07pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You can use any web standard you want in visual studio. Just turn off the 'warnings as errors', ignore the warnings and write correct code. VS will send any script you like to the browser, as far as html and css is concerned, even if it does not understand it.
source.compiler 23-Jul-12 2:33am
you are right! but my problems is position and Display properties ! they dnt work ! for example <asp:label> dnt locate on my choosen place !
Christian Graus 23-Jul-12 17:13pm
You shouldn't choose a place. You should just write a page so it flows, not set a position. Ignore the display view. Just run your browser to see where things are.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 22 Jul 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100