Reply to Re: TABLE within DIV Issue

Your name:

Reply:


Posted by Beauregard T. Shagnasty on 02/06/07 23:43

Rob wrote:

> On 6 Feb, 22:37, "Beauregard T. Shagnasty"
> <a.nony.m...@example.invalid> wrote:
>> <http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.brick-so...>
>> "Failed validation, 422 errors"
>>
>> Once the errors are corrected, which may fix the problem, then let's
>> look again.
>
> sorry, yeah it is http://www.brick-soton.co.uk/team.as[p] <-- p
>
> my mistake. The 422 errors are all because of simple HTML?! have I
> used the wrong Doctype or something?

No, not really. :-(

You are using XHTML 1.0 Transitional. New pages should be Strict,
though, as you aren't transitioning from anything. However, it doesn't
matter which doctype is used, there are still many, many errors.

I would recommend that your new documents be HTML 4.01 Strict.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

XHTML requires all tags to be in lower-case, but it is good policy (at
least I think so) to use lower-case all the time.

One of the first things I noticed was a <style> block in the <body>
instead of on the <head>. Browsers would be free to ignore it if they so
chose. It should also start with:

<style type="text/css">

<P><B>30/01/07: </B> should be: <p><strong>30/01/07: </strong>
<I>Travel Representative</I> -> <em>Travel Representative</em>

There is text not in any container; the following should be in a <p>:
"Meet the team of BRICK India '07! ..."

...and so on. You have a large conglomeration of 1999 code mixed with
1995 code. It would be difficult to list everything here in a post.

How are you writing this? Some Microsoft product?

--
-bts
-Motorcycles defy gravity; cars just suck

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация