Need some advice with theses errors

Discussion in 'CSS' started by DmitryS, Mar 4, 2011.

  1. #1
    Ive created a theme for an smf forum called Verve but when i try to validate the css @ http://jigsaw.w3.org/css-validator i get the following errors

    
    2561 	tr.windowbg td, tr.windowbg2 td, tr.approvebg td, tr.highlight2 td 	Property text-shadow doesn't exist in CSS level 2.1 but exists in : 1px 2px 1px #000000 1px 2px 1px #000000
    3564 	#userarea 	Property text-shadow doesn't exist in CSS level 2.1 but exists in : 1px 2px 1px #000000 1px 2px 1px #000000
    3567 	#userarea 	Property border-radius doesn't exist in CSS level 2.1 but exists in : 5px 5px
    3661 	#topnav li a 	Property text-shadow doesn't exist in CSS level 2.1 but exists in : 1px 1px 1px #000000 1px 1px 1px #000000
    3668 	#topnav li a.active 	Property text-shadow doesn't exist in CSS level 2.1 but exists in : 0 1px 0 #1d1d1d 0 1px 0 #1d1d1d
    3674 	#topnav li a:hover, #topnav li:hover a, #topnav li.sfhover a 	Property text-shadow doesn't exist in CSS level 2.1 but exists in : 0 1px 0 #1d1d1d 0 1px 0 #1d1d1d
    3679 	#topnav li:hover li a, #topnav li ul li a:hover 	Property text-shadow doesn't exist in CSS level 2.1 but exists in : 0 1px 0 #1d1d1d 0 1px 0 #1d1d1d
    3695 	#topnav li li a, #topnav li li a:hover, #topnav li li a, #topnav a.active li a, #topnav li:hover li a, #topnav li.sfhover li a 	Property text-shadow doesn't exist in CSS level 2.1 but exists in : 0 1px 0 #1d1d1d 0 1px 0 #1d1d1d
    3734 	#footerarea 	Value Error : padding -1.0 negative values are not allowed : -1em -1em 
    
    Code (markup):
    The thing is i need text shadows to make the theme what it is, you can view the theme @ http://www.themehut.co.cc and select the verve theme in the theme changer
    How can i fix theses errors without having to remove the text shadows?
     
    DmitryS, Mar 4, 2011 IP
  2. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #2
    
    3564 	#userarea 	Property text-shadow doesn't exist in CSS level 2.1 but exists in : 1px 2px 1px #000000 1px 2px 1px #000000
    
    Code (markup):
    You are trying to validate a property (text-shadow) which doesn't exist on CSS level 2.1, to CSS 2.1 that's an unknown property and thus gives you the error. You must be validating with CSS level 3; as text-shadow does exist on CSS level 3

    Go to the URL you mentioned above and choose correct profile from the dropdown by clicking at "more options" or just use this link http://jigsaw.w3.org/css-validator/#validate_by_uri+with_options
     
    radiant_luv, Mar 4, 2011 IP
  3. zerophean

    zerophean Peon

    Messages:
    91
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    just ignore that, http://jigsaw.w3.org is css 2.0 validator, many modern major browser, IE9, mozilla, opera, chrome, has supported text-shadow, they support css 3.0
     
    zerophean, Mar 18, 2011 IP