Forum Moderators: not2easy

Message Too Old, No Replies

CSS Validation and A Few Other Things

Say wha?

         

ThisEndup

5:41 pm on Jul 28, 2003 (gmt 0)

10+ Year Member



I'm using the CSS validation for the first time, here is the error reports I get...

Line: 3
Parse error - Unrecognized : <style type="text/css"> <!-- body {background-color: #FFFFFF; margin: 0px}

Line: 9 Context : .font
Parse Error - font_greeting {color: #000000; font-size: 9pt; line-height: 15pt; font-family: arial}

Line: 10 Context : .font
Parse Error - font_menu {color: #000000; font-size: 8pt; line-height: 12pt; font-family: arial}

I'm not quite sure what the errors mean... Any help would be appreciated. Also, I tried to use the HTML Validator, but it gives me this error:

The HTTP Content-Type field.
The XML Declaration.
The HTML "META" element.

I have this at the top of my document:

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<META HTTP-EQUIV="content-type" content="text/html">

Do I need all three for it to work or did I just implement it incorrectly?

Thank you for your time

BlobFisk

7:39 pm on Jul 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hey ThisEndup,

The Line 3 error is due to your use of <!--, this is an html comment tag, try removing this.

For the other 2 errors, try removing the underscore.

HTH