W3C home > Mailing lists > Public > www-validator-css@w3.org > January 2005

Re: I don't know what the error message means PLEASE help.

From: Jeff Carr <me@jeffcarr.info>
Date: Wed, 5 Jan 2005 16:59:37 -0600 (CST)
Message-ID: <60753.192.28.2.17.1104965977.squirrel@192.28.2.17>
To: "Nita Arnott" <nita@giftsrr.biz>
Cc: www-validator-css@w3.org

You are having a problem because your code is commented out using a:

/*

But the comment is never closed out.  If you end your comment somewhere
before the end of your page using:

*/

You shouldn't have a problem.

Thanks,

Jeff



Nita Arnott said:
> Hello,
>
>
>
> I have been trying to validate my "CSS" and "HTML" pages, No luck.
>
> I get the following error message- I don't know what the line numbers are
> in
> the validator.  I have cut & pasted the bottom elements to the top of the
> "CSS" page The validator still gave the same error pointing to the bottom
> of
> the "CSS".
>
> This is the message:
>
> Error
>
> Target: C:\wwwroot\Styles\Maroon-NavajoWhite.css
>
> java.lang.RuntimeException: Lexical error at line 76, column 10.
> Encountered: after : ""
>
>
>
>
>
> This is my "C SS" code:
>
> /*
>
>             aqua #00FFFF, black #000000, blue #0000FF,  fuchsia #FF00FF,
> gray #808080,
>
>             green #008000, lime #00FF00, maroon #800000, navy   #000080,
> olive #808000,
>
>             purple #800080, red #FF0000, silver #C0C0C0, teal   #008080,
> white #FFFFFF,
>
>             and                    yellow #FFFF00  only valid color-names
>
>
>
>       Standard link colors are underlined and are colored as follows
>
>       (Warning: Inactive links): New link (color: Blue)
>
>                          Visited  link (color: Purple)
>
>                          Active   link (color: Red)
>
>       Standard links have two elements that should be present:
>
>             Underline. Blue links are not enough.
>
>                   They must also be underlined to inform users to "click
> here".
>
>                   Otherwise the links may be misunderstood --
>
>                   users will spend time figuring out where to click.
>
>             Blue Color.
>
>                   Most users know that underlined means a link as opposed
> to
> blue.
>
>                   However, it takes time to find out and some novice users
> may
>
>                   never discover where to click.
>
>                   In any case, I see no logical reason to abandon or
>
>                   annoy customers just because they don't know where to
> click.
>
>
>
>
>
>             % a percentage of something *
>
>             in inch = 2.54cm = 25.4 mm
>
>             cm centimeter = 0.393701 Inch
>
>             mm millimeter = 0.0393701 Inch
>
>             em one em is equal to the font size of the current element
>
>             ex one ex is the x-height of a font,
>
>             the x-height is usually about half the font-size
>
>             pt point (1 pt is the same as 1/72 inch)
>
>             pc pica (1 pc is the same as 12 points)
>
>             px pixels (a dot on the computer screen)
>
> /*
>
> a:link          { color: blue;    text-decoration: underline;}
>
> a:visited     { color: purple;       text-decoration: underline;}
>
> a:hover            { color: yellow;       text-decoration: underline;}
>
> a:active      { color: red;     text-decoration: underline;}
>
>
>
> body
>
>       {
>
>             font-family: "Comic Sans MS", "Courier New", "Times New
> Roman",
> serif;
>
>             background-color:#FFDEAD;
>
>             margin-left: 5%; margin-right: 5%;
>
>             padding:3px;
>
>       }
>
>
>
> h1
>
>       {
>
>       color: #800000;
>
>       font: 125%;
>
>       }
>
>
>
> ..nav
>
>       {
>
>             color: #00FFCC;
>
>             font-size:100%;
>
>             margin:5px 05px 05px 0;
>
>             width:100%;
>
>             border: 5px ridge #ffffcc;
>
>             background-color: #FFDEAD;
>
>       }
>
> ..bar
>
>       {
>
>             width:100%;
>
>             height: 10ex;
>
>             background-color: #800000;
>
>             padding:5em 5em 5em 5em;
>
>       }
>
> ..box-10
>
>       {
>
>       width: 10%;
>
>       height: 10ex;
>
>       color: yellow;
>
>       background-color: transparent;
>
>       }
>
>
>
> I thank you in advance, because are good people.
>
>
>
> Thx.,
>
> Nita J. Arnott
>
> nita@giftsrr.biz
>
>
>
>
Received on Thursday, 6 January 2005 02:50:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:15 GMT