On Thu, Jan 03, 2002 at 05:19:20PM -0500, James A. Treacy wrote: > I have no idea what the author intended with the html for the following: > ** Errors validating /org/www.debian.org/www/ports/alpha/news.en.html: *** > Line 255, character 26: document type does not allow element "DIV" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag
<div> is above in hierarchy than <p> and font-type tags such as. The tree structure is: div --> p --> b That means that lines 255 and 258: <P><B><div align="center">Now that slink has been released, I'm changing the </div></B></p> should be replaced by: <div align="center"><P><B>Now that slink has been released, I'm changing the </B></p></div> > ports/powerpc/inst/apus.en.html and ports/powerpc/inst/prep.en.html > have a tag <prgn>. No idea what that is. It is an invention of the author, which doesn't exist in HTML; It seems that he meant to tag program names in some way, and he must have thought that since <prgn> is silently ignored by his browser, it was harmless. You can replace <prgn> by <strong class="prgn"> (or <em class="prgn">) which are valid HTML tags and serve the same purpose. > ports/powerpc/inst/install.en.html includes lines like the following: > <tr></tr><tr bgcolor="#f3f3f3"> > <td><strong>Apple</strong></td> > <td></td> > </tr> > A little strange, but anything wrong with an empty row? The DTD requires that all rows (<tr>) have at least one <td> or <th>. If you replaced <tr><td></tr> it would work in HTML; but you really insist in keeping that empty row, you'd better use: <tr><td></td><td></td></tr> Cheers, Jaime
pgpWjLlr8yJUO.pgp
Description: PGP signature