View Full Version : Times in vaild css? :?


webgirl
02-22-2005, 03:59 AM
I've got 100% vaild css (http://jigsaw.w3.org/css-validator/validator?uri=http://sugar-sparks.org/sylvia/code.css) but my font shows up as (eww) times new roman. It should be Verdana. The bold text & links are vendara just not the regular text. I don't know whats wrong.

This is my css:
body

{background-color: #2E008B;
text-align: justify;
cursor: default}

A
{color: #2E008B;
font-family: Verdana, sans-serif;
font-weight: none;
font-size: 10pt;
font-style: normal}

A:link
{color: #2E008B;
font-family: Verdana, sans-serif;
font-weight: underline overline;
font-size: 10pt;
font-style: normal}

A:active
{font-family: Verdana, sans-serif;
font-size: 10pt;
text-decoration: underline overline;
color: #2E008B}

A:visited
{font-family: Verdana, sans-serif;
font-size: 10pt;
text-decoration: none;
color: #2E008B}

A:hover
{color: #2E008B;
font-size: 10pt;
text-decoration: underline overline;
cursor: crosshair;
font-family: Verdana, sans-serif;}

B
{color: #2E008B;
font-family: Verdana, sans-serif;
font-weight: bold;
font-size: 10pt;
font-style: normal}

U
{color: #2E008B;
font-family: Verdana, sans-serif;
font-size: 10pt;
text-decoration: underline}

I
{color: #2E008B;
font-family: Verdana, sans-serif;
font-size: 10pt;
font-style: italic}

XMP
{color: #2E008B;
font-family: Verdana, sans-serif;
font-size: 10pt;
font-style: normal}

font
{color: #2E008B;
font-family: Verdana, sans-serif;
font-size: 10pt;
line-height: 14px;
font-style: normal}

input,textarea,submit,reset

{border: 0;
background: #5C00D0;
color: #2E008B;
font-family: Verdana, sans-serif;
font-size: 8pt;
line-height: 9pt;
font-weight: normal;
font-style: normal}

HR
{color: #2E008B;
height: 0;
width: 0;
border-top: 1 solid #000000;
border-bottom: 1 solid #000000}

You can see it in action here: http://tinypic.com/1sxqc1

Monkey Bizzle
02-22-2005, 05:37 AM
in this part:

body

{background-color: #2E008B;
text-align: justify;
cursor: default}

you need to specify the font:

body
{background-color: #2E008B;
text-align: justify;
cursor: default;
font-family: Verdana, sans-serif;}

and actually, your CSS isn't valid... some of yoru font-weights are incorrect.