On Feb 5, 2010, at 3:44 PM, Kevin Horn wrote: > On Fri, Feb 5, 2010 at 1:22 PM, sstein...@gmail.com <sstein...@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.
It's still not valid; it's just one of those things that's set to be ignored in "TRANSITIONAL" 'cause it's so common. XHTML STRICT pretty much eliminates cross-browser issues...except for IE, of course. At least you have a fighting chance if it passes STRICT, otherwise you can chase rendering bugs around in a circle forever. Works here, doesn't work there...tweak...great, works there, uh oh, doesn't work here...tweak...etc. S
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python