2012/2/22 André Warnier <a...@ice-sa.com>: > Pid wrote: >> >> On 21/02/2012 13:59, Jim Showalter wrote: >>> >>> Hi. Thanks for the timely response. I wasn't certain if I should post >>> this >>> to the group or not. I can repost for the archive if you want. >> >> >> Yes. Always to the list. >> >>> Here are some examples. >>> >>> The worst offender (in my opinion) is >>> http://tomcat.apache.org/tomcat-7.0-doc/config/context.html. The tables >>> don't word wrap at all and I can't begin to get the section on my screen >>> without the need for horizontal scrolling. Other sections in the >>> configuration documentation word wrap to different degrees. I like to >>> increase the font size slightly and read the documentation by just >>> scrolling >>> down. If I have to go back and forth too much it is very distracting. >> >> >> Ugh. That is definitely wrong. >> I will take a look later on as to the cause. >> > > By the way, for the page in question, my HTML-checker lists 147 errors (not > warnings), the few first of which being : > > line 59 column 5 - Error: end tag for element "P" which is not open > line 78 column 11 - Error: end tag for element "P" which is not open > line 111 column 10 - Error: end tag for element "P" which is not open > line 137 column 5 - Error: end tag for element "P" which is not open > line 154 column 5 - Error: end tag for element "P" which is not open
That is usually caused by nesting <ul> or <ol> inside a <p>. A list should not be nested in a paragraph, or the validator will complain. I corrected such nesting in many places. Anyway if a browser wants to end <p> before <ul>, it will end it (</p> tag in a paragraph can be omitted in HTML), and </p> will be ignored. > line 180 column 238 - Error: value of attribute "VALIGN" cannot be "CENTER"; > must be one of "TOP", "MIDDLE", "BOTTOM", "BASELINE" > line 180 column 338 - Error: value of attribute "VALIGN" cannot be "CENTER"; > must be one of "TOP", "MIDDLE", "BOTTOM", "BASELINE" > line 189 column 51 - Error: value of attribute "VALIGN" cannot be "CENTER"; > must be one of "TOP", "MIDDLE", "BOTTOM", "BASELINE" > line 189 column 148 - Error: value of attribute "VALIGN" cannot be "CENTER"; > must be one of "TOP", "MIDDLE", "BOTTOM", "BASELINE" > line 203 column 51 - Error: value of attribute "VALIGN" cannot be "CENTER"; > must be one of "TOP", "MIDDLE", "BOTTOM", "BASELINE" > line 203 column 133 - Error: value of attribute "VALIGN" cannot be "CENTER"; > must be one of "TOP", "MIDDLE", "BOTTOM", "BASELINE" > line 207 column 51 - Error: value of attribute "VALIGN" cannot be "CENTER"; > must be one of "TOP", "MIDDLE", "BOTTOM", "BASELINE" ALIGN="CENTER" but VALIGN="MIDDLE" > > So I think whoever looks at this has his work cut out.. > ;-) > > (Note that the above kind of thing may be why this is not wrapping etc.. > Browsers may just give up trying to follow incorrect stylesheet directives > and not do anything at all then) No, it is not. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org