in reply to Re: Re: XML documentation formatting and transformations
in thread XML documentation formatting and transformations

Greetings.

I do this kind of stuff occasionally, so I am of little use without a reference (which I do not have by now) however: say

<foo>this is your tag</foo>

then you can style it in a CSS2 stylesheet like this:
foo { display:block; color:red; }
Which tells the formatter you have got a block level element, and to color it in red...

See for instance:
http://www.zvon.org/xxl/CSS2Tutorial/General/htmlIntro.html

Cheers,
alf
--
You can't have everything: where would you put it?

Replies are listed 'Best First'.
Re: Re: Re: Re: XML documentation formatting and transformations
by John M. Dlugosz (Monsignor) on Nov 02, 2001 at 02:09 UTC
    Yes, that got me going. The following:
    class { display: block; font-size: xx-large;   }
    signature { display: block; font-size: large; margin-top: 1em }
    P { display: block;  font-size: medium; font-family: georgia, bookman, serif; margin-top: 1em }
    
    was enough to get readable output in a browser from my posted XML file.

    It seems that IE doesn't handle the :before pseudo-tag.