homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

Validating Pages
Having Problems Validating Pages

 1:18 pm on Aug 30, 2003 (gmt 0)

Hi Everyone,

Thanks for having such a great forum. I just found you and have been busy reading and soaking up information.

I'm having some problems. I hope someone can help.

I'm trying to validate my html document using:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<TITLE>Title Here</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">

and I keep getting two error messages:

1. Line 62, column 27: there is no attribute "HEIGHT" (explain...).
height="110" cellpadding="0"

2. Line 75, column 56: there is no attribute "BACKGROUND" (explain...).

I've tried with just about every imaginable choice imagineable. My page is pretty simple ... it has some javascript and uses CSS extensively ... but nothing out of the norm. And I just can't get these last two errors.

Does anybody have any idea what alternative I can use?

Thank You.




 1:48 pm on Aug 30, 2003 (gmt 0)

Hi there Darla,

For the first error it appears you have set a height attribute on your table. This is not in the w3c html 4.01 transitional spec, so gets reported as an error.

Removing the 'height="110"' bit will fix the error but may change your layout. If you need to fix this try using CSS to add padding or margins.

The second error appears to be using a background image attribute on a table, again not w3c-standard html. You could move this into a CSS style sheet like

.mytable {



 10:45 am on Aug 31, 2003 (gmt 0)


Thank you sooooo much!

That did the trick!

Don't know why I hadn't thought of that .... think I've been doing way too much coding the last week ;o)

I really appreciate your help.

Take care!



 11:01 am on Aug 31, 2003 (gmt 0)

Ps. You can set the height in CSS also, height: 110px;


Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved