pretty mailman listinfo pages?

Gérard Talbot browserbugs at gtalbot.org
Wed Apr 23 11:08:08 UTC 2014


Le 2014-04-23 03:02, Ahmed Fathy Hussein a écrit :
>> Suggestions:
>> 
>> - How about setting the doctype to strict HTML 4.01
>> - type="text/css" is missing on links and style blocks
>> - a table can not be nested inside a p element
> 
> 
> Thanks for your suggestions. I've updated the page now.

Ahmed

As coded as of right now, the following

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- $Revision: 5865 $ -->
<HTML>

will trigger backward-compatible "quirks" rendering mode in all 
mainstream browsers: eg load the page in Firefox and do 
Tools/Information on the page (Ctrl+I). backward-compatible "quirks" 
rendering mode is something you always want to avoid.

You need a doctype with a strict DTD like

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd">

or just:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

to trigger web-standards-compliant rendering mode.

Please note that

Gérard
-- 
Konqueror Implementation Report of CSS 2.1 test suite (RC6): 9418 
testcases
http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/Konq-IR-CSS21TestSuite.html
53 Bugs in Konqueror 4.13.0
http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/
Contributions to the CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/
CSS 2.1 Test suite RC6, March 23rd 2011
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html


More information about the kde-www mailing list