Click here to Skip to main content
Rate this: bad
good
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 ...!
 
tnx
Posted 22-Jul-12 16:07pm

1 solution

Rate this: bad
good
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.
  Permalink  
Comments
source.compiler at 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 at 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
0 DamithSL 390
1 Maciej Los 217
2 OriginalGriff 213
3 BillWoodruff 130
4 Garth J Lancaster 90
0 OriginalGriff 7,953
1 DamithSL 6,139
2 Sergey Alexandrovich Kryukov 5,449
3 Maciej Los 5,293
4 Kornfeld Eliyahu Peter 4,539


Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 22 Jul 2012
Copyright © CodeProject, 1999-2014
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