Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Re: XML documentation formatting and transformations

by alien_life_form (Pilgrim)
on Nov 01, 2001 at 23:58 UTC ( [id://122654]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://122654]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2024-04-19 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found