Click here to Skip to main content
15,900,378 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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 ...!

tnx
Posted

1 solution

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.
 
Share this answer
 
Comments
ali_heidari_ 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900