[Twisted-Python] Lore to Sphinx Conversion Progress Report 5

Kevin Horn kevin.horn at gmail.com
Fri Feb 5 15:44:44 EST 2010


On Fri, Feb 5, 2010 at 1:22 PM, ssteinerX at gmail.com <ssteinerx at gmail.com>wrote:

>
> On Feb 5, 2010, at 2:11 PM, Terry Jones wrote:
>
> >> - It looks fine under Google chrome
> >
> > Argh, having said that, I just noticed the table of contents is below and
> > to the right of the main page content.  An example page that exhibits
> this
> > is
> http://twistedsphinx.funsize.net/projects/conch/howto/conch_client.html
>
> It looks fine in Firefox and I'll bet if you just make sure these 4 errors
> are cleared up, it'll be fine in Chrome, too.
>
>
> http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Ftwistedsphinx.funsize.net%2Fprojects%2Fconch%2Fhowto%2Fconch_client.html
>
> S
>
>
>
Hmmm...that part of the template is straight out of Sphinx proper.  I wonder
if it's because the Sphinx templates use a TRANSITIONAL doctype, while I'm
using STRICT (since that's what the Trac site uses)...

I'm not entirely convinced that these are real errors, though.  The <input>
elements are inside a <form>, which are only inside <div>s (and of course
<body> and <html>).

(goes looking on the intarwebz)

Huh.  Apparently you aren't allowed to put <input>s directly in <form>s.
You have to use a <p> or <fieldset> or something to wrap it.  That's
extremely goofy.  Wonder why I've never run into that before...

Guess I don't use XHTML STRICT very often.  Seems it's valid in
TRANSITIONAL.

Kevin Horn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20100205/cb14f0ea/attachment.htm 


More information about the Twisted-Python mailing list