Menu

#4 Web site fails CSS validation, 4 errors

open-fixed
nobody
5
2007-05-20
2007-05-19
Nick Freear
No

(Assigned to me, nfreear)

Validation URI:
http://jigsaw.w3.org/css-validator/validator?profile=css21;uri=http%3A%2F%2Fmathtran.org
URI : http://mathtran.org/css/master.css

305 #footer Too many values or values are not recognized : 100% px
308 #footer Value Error : font-size Parse Error - font-size
308 #footer Parse Error - 14pt;
310 #footer Parse error - Unrecognized }

--
See patch in bug # 1721295.

Discussion

  • Nick Freear

    Nick Freear - 2007-05-20

    Logged In: YES
    user_id=1424922
    Originator: YES

    Yesterday I committed fixes to 1 file 'master.css', fixing all the errors reported by the Validator.

    CSS21 standard says "...style sheets are case-insensitive, except for parts that are not under the control of CSS" - "element names are... case-sensitive in XML" and therefore XHTML:
    http://www.w3.org/TR/CSS21/syndata.html#q6

    TODO: So though browser's don't complain, it is preferable to lower-case the style sheet. And long-hand properties can be replaced by short-hand ones.

     
  • Nick Freear

    Nick Freear - 2007-05-20
    • status: open --> open-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.