Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 16 Mar 2001.
Re: Webpage asciifont

Re: Webpage asciifont

In article <3ab...@news.onemain.com>, SheDragon wrote:
>On Thu, 15 Mar 2001 18:22:00 GMT, mar...@telia.com.deletethis
>wrote:
>
>>Anyone have a suggestion for which font to use to put some ascii on my
>>webpage and it look good on many plattformsnot just pc+windows?
>>Or should I just use the <PRE></PRE> tags?
>
>You need the <pre> tags no matter what font you use. I like fixedsys
>font. 

Right.  For more details, read Eli's post in this thread.  I'd like to
add one word of caution:  The "obvious" solution:

  <pre><font face="Fixedsys"> :-( </font></pre>

..is technically incorrect, since the HTML standard forbids font tags
inside pre.  More importantly, I just recently heard reports of some
browsers ignoring the pre tags in such a construct, with rather ugly
results.  The proper solution would be:

  <pre style="font: Fixedsys, monospaced;"> :-) </pre>

..or even better, using a full CSS style sheet:

  PRE.asciiart {
    font: 12pt/12pt bold Topaz New, terminal, monospaced;
    color: green;  /* why not, while we're at it? */
  }

..so that you can simply write:

  <pre class=asciiart> :-) </pre>


>>Maybe its best to put a .txt in a frame or the webpage get corrupt if
>>using the < / \ > codes in the asciiart?

As Eli said, just replace & with &amp; and < with &lt;

-- 
Ilmari Karonen - http://www.sci.fi/~iltzu/
"/* If you don't understand, don't touch */"  -- Abigail in the monastery

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,9e69480e73fe044c
X-Google-Attributes: gidf996b,public
X-Google-ArrivalTime: 2001-03-17 02:11:53 PST
Path: nntp.stanford.edu!newsfeed.stanford.edu!skynet.be!newsfeed1.funet.fi!newsfeeds.funet.fi!130.230.10.15.MISMATCH!news.cc.tut.fi!uutiset.saunalahti.fi!not-for-mail
From: Ilmari Karonen <ilt...@sci.invalid>
Newsgroups: alt.ascii-art
Subject: Re: Webpage asciifont
Date: 16 Mar 2001 07:34:13 GMT
Organization: (dis)Order of the Holy Spoon (or whatever)
Lines: 44
Message-ID: <984...@itz.pp.sci.fi>
References: <5r1...@4ax.com> <3ab...@news.onemain.com>
Reply-To: Ilmari Karonen <use...@itz.pp.sci.fi>
NNTP-Posting-Host: simpukka.saunalahti.fi
X-Trace: tron.sci.fi 984728053 7515 195.74.0.20 (16 Mar 2001 07:34:13 GMT)
X-Complaints-To: new...@saunalahti.fi
NNTP-Posting-Date: 16 Mar 2001 07:34:13 GMT
User-Agent: postit.pl 0.05
Xref: nntp.stanford.edu alt.ascii-art:112816
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 2001 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post