Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 8 Oct 1999.
Re: Sv: ASCII and e-mail + hint on how to do easy HTML and A

Re: Sv: ASCII and e-mail + hint on how to do easy HTML and ASCII integration on a webpage

[crossposted to comp.infosystems.www.authoring.html]

Christian 'CeeJay' Jensen wrote:
> Veronica Karlsson wrote:
> : >
> : > <PRE><TT>
> : >
> : > and this after :
> : >
> : > </TT></PRE>
> : >
> : >
> : > This little trick can also be used on webpages , if you want to display your
> : > work on the web.
> :
> : a. It is not a "little trick", it is the way to present preformatted
> :    text (which ascii art is) in html.
> 
> Figure of speech .. sorry.
> 

ok  :)

> : b. The <tt> tag is not necessary.
> 
> Yes it is -- you just don't know it yet .. read on.
> 

Lets ask the experts...

> : > Some however choose to display ASCII together with HTML and for thoose of
> : > you who do
> : > know that the <PRE><TT> method is (IMHO) the best method.
> :
> : Uh? Using <pre> (no other tags) is *the* method.
> 
> You could say that , and in many cases just a <PRE> works.. BUT it is my
> experience
> that some browsers (mainly older ones) requires both tags to be set to
> display the
> art just right. You can get away with setting only <pre> with a large number
> of browsers but in a few that just does'nt cut it - Blame it on buggy
> browsers because
> yes ... <pre> should be enough if you follow the standard .. but as we all
> know ,
> browsers can't be troubled with standards - they go their own ways.
> 
> I know this because I was once the happy programmer of a finger -> web
> gateway, which
>  I wanted to be able to show the ascii-art people often wrote in their .plan
> files
> (no other finger gateway i knew of did this) and in my test of it I
> discovered that
> <pre> would'nt always set the font to one of fixed-witdh on some browsers ..
> but only
> display spaces and linebreaks as they were written and still it would
> display all
> text in a proportional font.
> I sadly don't have the gateway up anymore as i changed schools to one where
> they did'nt allow stundent webpages and CGI.
> Shame.. it was a nice little gateway .. detected webaddresses and created
> the appropriate links too (in a somewhat smarter way than outlook does it)
> without messing up user made links in the .plan (some people put HTML in
> their .plan 's
> - which I personally think is a no-no)
> 
> Anyone out there know of a free unix shellaccount that allows you to do CGI
> ? and fingerlookups ..
> 
> : > I have seen that some people set <PRE> and then use hundreds of &nbsp 's
> : >  .. not only does that make the pages much larger in filesize but it's also
> : > more tedious to do and looks weird when you view the source.
> :
> : I think it's usually dumb programs that try to guess what you're
> : thinking that do this.
> 
> What .. people that handcode their ascii-art don't handcode their HTML ?
> 

"handcode ascii art"???  *lol*  What other method is there? (and don't
say "conversion software"! I'm talking about programs that produce
acceptable results...)

> : You do, however, need to do a little bit more than simply slap
> : <pre></pre> around your pictures. You need to:
> :
> : 1.  Replace all   &   with &amp;
> : 2.  Replace all   <   with &lt;
> :
> : Please note that the semicolons are necessary, and the replacing should
> : be done in the order listed above.
> 
> Ohh yeah forgot about that .. yes people - remember to run that
> search-replace.
> 
> and all > with &gt;
> 

Yeah, you can do that too, but it's not absolutely *necessary*.


-- 
     _    ____  _         _    _   _      _   _
__ _| |__/ __ \| |_  _ __| |__| | | |_  _| |_| |_    ___ ___
\ V / / / / _` | | || / _` / _` |_| | || |  _| ' \ _(_-</ -_)
 \_/|_\_\ \__,_|_|\_,_\__,_\__,_(_)_|\_,_|\__|_||_(_)__/\___|
         \____/                 http://www.ludd.luth.se/~vk/

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fefc7,9fa4e78939ba16cf,start
X-Google-Attributes: gidfefc7,public
X-Google-Thread: f996b,adc6512697c56531
X-Google-Attributes: gidf996b,public
From: Veronica Karlsson <aci...@earthling.net>
Subject: Re: Sv: ASCII and e-mail + hint on how to do easy HTML and ASCII integration on a webpage
Date: 1999/10/08
Message-ID: <37F...@earthling.net>#1/1
X-Deja-AN: 534265317
Content-Transfer-Encoding: 7bit
References: <01bf0eb6$77b43a00$ac756291@default> <W6MK3.290$Uc6...@read2.inet.fi> <7tgipu$sn3$1...@news.inet.tele.dk> <37F...@earthling.net> <7thp75$btm$1...@news.inet.tele.dk>
Organization: University of Lulea, Sweden
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: alt.ascii-art,comp.infosystems.www.authoring.html
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1999 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