[Top][All Lists]

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

[Axiom-developer] Shaded code areas in html

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 }

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

Or put it into

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]