4 Replies Latest reply on May 4, 2012 1:09 PM by Nancy OShea

    CSS validator having a problem with shorthand line-height

    MTKoan Level 1


      Suddenly noticed a CSS error with a simple CSS:


      h1 { font: 20px/100% "Times New Roman", Times, serif; }


      "Value Error : font  / is not a font-family value :  20px / 100% "Times New Roman",Times,serif "



      That's the way I've always written "font." And Dreamweaver agrees. Is there a new standard here?




      http://jigsaw.w3.org/css-validator/validator?profile=css21&warning=0&uri=http%3A%2F%2Fwww. wellesley-hotel.com%2Ftest2.html