- From: Nita Arnott <nita@giftsrr.biz>
- Date: Thu, 30 Dec 2004 08:20:16 -0800
- To: <www-validator-css@w3.org>
- Cc: <nita@giftsrr.biz>
- Message-ID: <000001c4ee8b$74a56e00$4516bf83@home>
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 Friday, 31 December 2004 14:15:22 UTC