RE: validate

by "Kapterian, Sophia (E-mail)" <digitek(at)cytanet.com.cy>

 Date:  Wed, 4 Feb 2004 18:20:23 +0200
 To:  "'Diane'" <diane(at)tein.net>,
<hwg-basics(at)hwg.org>
 In-Reply-To:  fwvcy01
  todo: View Thread, Original
Diane wrote:

  > I was updating a page I did some time ago, and I can't
  > get it to validate.  Thanks for all the help!
  > Diane
  > http://www.synthesisind.com/
  >
Hello Diane,

The validation issue is in the following markup at line 115.

 112: <div align="left">
 113:   <table border="0" width="650" cellspacing="1" cellpadding="10>
 114:     <tr>
 115: <img src="blank.gif" width="4" height="1" hspace="1" alt="spacer for
Synthesis Industries">

You have omitted the td after the tr. Rewrite this as:

<tr>
  <td>
   <img src="blank.gif" width="4" height="1" hspace="1" alt="spacer for
Synthesis Industries">
  </td>
  <td>...
and I think you should be OK.

You also have some problems with the CSS. In the following rules, the
options are separated with the bar.  Choose whichever is desired.

body, p {
	font-style: normal | italic | oblique;
	font-weight: normal | bold | bolder | lighter | values 100-900;
	font-size: 1.2em; /*no space between numeral and unit*/
	padding: 0em; /*same here and the two lines below
			    either remove the space, or just state 0*/;}

You have put the space in between number and unit in several elements which
you have to correct to have the css validate.

If you have problems let me know.

HTH
Sophia

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA