⇤ ← Revision 1 as of 2007-05-02 13:16:28
443
Comment:
|
860
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
#pragma page-filename DEV/versions/163934 | #pragma page-filename DEV/versions/163938 |
Line 8: | Line 8: |
== CSS requirements == * the bits of the template which define <head>, <body> etc. are defined in one pair of header and footer files, so they can be turned off easily; * the CSS files "namespace" everything by placing all Mailman content within a div, e.g. <div id="mailman">...</div> and then prefix all CSS rules with "#mailman" - this stops the Mailman styles from leaking out into the parent page elements. |
As a first step before adding full templating, the existing pages can be restyled to use CSS and to look more up-to-date.
Goals
- Avoid using tables for layout.
- Make pages look more modern.
CSS requirements
the bits of the template which define <head>, <body> etc. are defined in one pair of header and footer files, so they can be turned off easily;
the CSS files "namespace" everything by placing all Mailman content within a div, e.g. <div id="mailman">...</div> and then prefix all CSS rules with "#mailman" - this stops the Mailman styles from leaking out into the parent page elements.
Places to change
- The HTML templates in templates/.
MailMan.HTMLFormatter
- The CGI scripts in MailMan/Cgi (they use htmlformat.Table all over the place).