__/ [ Mark Parnell ] on Monday 24 April 2006 02:04 \__
> Deciding to do something for the good of humanity, "T.J."
> <no1@xxxxxxxxxxxx> declared in alt.www.webmaster:
>
>> what is
>> determining the font style used within the <pre>
>> tags?
>
> a) The browser's default rendering of <pre>. Since it is for
> preformatted text, most (all?) graphical browsers use a monospaced font
> for <pre>.
Yes, and you can find it listed in your font settings. There is usually a
special field for this, under character type (e.g. Western).
> b) Your stylesheet.
Indeed. You can change it too if you like. I use:
pre {
color: #444;
background: url(/IMG/pre_bg.gif);
border: 5px double #fff;
}
pre:first-letter {
font-family : Times New Roman, serif;
color: #000000;
font-variant: small-caps;
font-size : 200%;
}
> c) User stylesheet.
If overridden.
> d) URL?
--
Roy S. Schestowitz | $> apt-get -not windows
http://Schestowitz.com | SuSE Linux ¦ PGP-Key: 0x74572E8E
4:35am up 1 day 13:32, 12 users, load average: 0.42, 0.56, 0.51
http://iuron.com - Open Source knowledge engine project
|
|