- From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- Date: Sun, 13 Mar 2005 00:51:21 +1100
- To: Max Payne <retula@gmail.com>
- CC: www-validator@w3.org
Please include www-validator@w3.org in all your replies. Use "Reply All" (or equivalent) in most mail clients. Max Payne wrote: > the form is around the table tags > > <form> > <table> > ... > </table> > </form> > and i still get the error, > > the page is www.kristofmattei.be , and it occurs on every page, the problem is > in the guestbook code This is a very strange error indeed, and at first glance I can't see what is causing it, though I don't have time to take a good look. Perhaps someone else on this list may be able to help you. However, while I take back my previous statement about not using tables for layout (as it appears you have not done so), you really need to stop over using the div element. Consider using more semantic elements eg. instead of: <div class="subcontentheading" align="center">Admin</div> use an appropriate level <h1> to <h6> element without a class or align attribute, like this: <h3>Admin</h3> Then use CSS to align the heading in the center. Instead of: <div class="logcontent"> or <div class="subcontent"> use the <p> element without the class. Instead of nesting so many div's within each other, reduce the markup to one or two elements that indicate *what* the content is, not what it looks like or how it will be styled. Doing so results in cleaner markup that is much easier to debug and validate. -- Lachlan Hunt http://lachy.id.au/ http://GetFirefox.com/ Rediscover the Web http://GetThunderbird.com/ Reclaim your Inbox
Received on Saturday, 12 March 2005 13:51:27 UTC