httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Eckermann <...@suse.de>
Subject Re: [PATCH] mod_autoindex - new feature: UseTable
Date Fri, 07 Jan 2000 23:21:26 GMT
On Thu, Jan 06, 2000 at 02:08:54PM -0500 David Harris (dharris@drh.net) wrote:
> 
> I think there are some problems with how the table created by this patch is
> defined by a stylesheet.

[...]

Hi,
thanks for your hints. 
 
> (a) If the SuppressHTMLPreamble option is true, then you loose the formatting
> on the table because the stylesheet is never printed.

This is, what I intended: if the Author of "HEADER.html" wants 
another layout of tables, he/she should get THEIR layout, not mine!
 
> (b) If the SuppressHTMLPreamble option is false, then you screw with the look
> of the HEADER.html file because you have re-defined the look of some common
> HTML elements. (The <style>..</style> section from emit_preamble will be
> printed before the HEADER.html file.)
> 
> Problem B can be solved by using classes and not touching the definitions of
> the standard HTML tags. For example, change "table" to "table.autoindex" i
> in the stylesheet and use a class=autoindex in the appropriate table tag. 
> I'm not sure how problem A could be solved.

Yes, good option, patch is included (mod_autoindex-1.3.css).
Mh, and there is another patch, without stylesheets at 
all:-(mod_autoindex-1.3.nocss)

Patch "mod_autoindex-1.3.doc" contains the changes to mod_autoindex.html.

You may decide, what to use, ...

Best regards
	Matthias Eckermann

-- 
Matthias Eckermann <mge@suse.de>
SuSE Muenchen GmbH  Stahlgruberring 28  D-81829 Muenchen       | errare
phone +49-89-427690 fax +49-89-42017701 mobile +49-179-2949448 | humanum
http://www.suse.de/                       http://www.suse.com/ | est


Mime
View raw message