axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] Shaded code areas in html


From: Ralf HEMMECKE
Subject: [Axiom-developer] Shaded code areas in html
Date: Mon, 04 Oct 2004 09:25:21 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616

One can achieve colored code areas in the html output of noweb by
sneaking some style code into the generated .html file.

Noweb produces the code area set in <pre> ... </pre>, so adding

<style type="text/css">
pre { background : lightgray }
</style>

between <head> ... </head> would achieve this.

Or put it into

http://page.axiom-developer.org/zope/mathaction/FrontPage/stylesheet

as a default for <pre>.

Unfortunately, the above CSS code modifies ALL <pre> environments. That may be undesirable.

Ralf Hemmecke





reply via email to

[Prev in Thread] Current Thread [Next in Thread]