1 Reply Latest reply on Mar 27, 2010 12:27 PM by Nancy OShea

    Help replacing/fixing IE hacks in .CSS to validate!

    jonboy0000 Level 1

      Hi all,


      My site .html's validate, but I need help fixing up two StyleSheets. I get 10 errors on this one: http://jigsaw.w3.org/css-validator/validator?uri=www.srdar.org&profile=css21&usermedium=al l&warning=1&lang=en.


      It seems like all the errors come from IE hacks. I removed most of them and didn't notice a real problem when I checked it out in IE 7, until I changed this (line 1):




      to just:




      And the entire spry menu bar shifted to the left, throwing everything off. Really don't understand why? But I assume it's just another IE hack I took away... Anyway I reverted back to the original .CSS - the one you see in the link - with the 10 original errors.


      Any help fixing these issues would be much appreciated! I'm really still new to making websites, and learned the most from validating my .htmls. I imagine validating the .css's will help the same..  Thanks!