On Fri, Jan 04, 2002 at 10:06:41AM +0000, Jaime E. Villate 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>
Or simply <p align="center">. That <div> is actually <center>, converted to <div align="center"> by WML. > > 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> Or <td colspan="2"></td> :) -- 2. That which causes joy or happiness.