Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 12 Jul 1996.
Re: Ascii-art in HTML

Re: Ascii-art in HTML

In article <31E...@iastate.edu>, rose  <ros...@iastate.edu> wrote:
>Dave Bird---St Hippo of Augustine wrote:
>> 
>> <img src="none.gif" alt="&#013
>>      __                  &#013
>>    _7 |&gt;              &#013
>>   | _  |                 &#013
>>      \ \______,          &#013
>>      /    __  ;          &#013
>>      \  _/  \ )          &#013
>>      | /     |l          &#013">
>> 
>> DOESN'T WORK !!!!  No line-breaks are inserted in the resulting alt.

BTW, that's "&#013;" (carrige return), or "&#010;" (newline).  But, yes, I've 
had the same problem.  I've found that the above only works in Xemac's w3
web browser, which is not very popular.  ("Hi, my name is emacs, the only
text editor with a web browser written in it's macro language...")  In fact, 
lynx even strips out repeated spaces(!).

For example, "&" becomes "&#046;", I believe.
So, <a href="foo.pl?val1=one&val2=two"> would be <a
href="foo.pl?val1=one&#046;val2=two">, since the first, technically, is a
legal URL but not a legal HTML anchor tag.  And, using "%26", the standard
URL encoding scheme, doesn't work because CGI wants those to be literal
ampersands, not separators.  However, not all browsers correctly interpret
HTML entities in URL's (specifically, Lynx, my current browser of choice).

>> Does anyone have an easy way, WHICH THEY HAVE TESTED & FOUND WORKING,
>>    of inserting those linebreaks INSIDE AN ALT="..."  STRING
>>     so that they are displayed in the ALT to the image?

So, in short, no, but not for lack of trying.  I've settled for a link to
the ascii version.  Sigh...

>Here is an easy solution to your problem WHICH I HAVE TESTED & FOUND
>WORKING:  make your bloody dog lie down on one line.

Look, that doesn't make sense at all.  "Don't make them multiple lines"
is not a solution to the problem, "how do you make multiple line alt
tags?"

-- 
Matt Corks, 1B Co-Op PMath, C.S.
mvc...@undergrad.math.uwaterloo.ca, http://www.csclub.uwaterloo.ca/u/mvcorks
"Be careful when you're doing this" - The Anarchist's Cookbook

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,e8656e8782b25e98
X-Google-Attributes: gidf996b,public
X-Google-Thread: f4f4a,aebf519eeed7c8a9
X-Google-Attributes: gidf4f4a,public
From: mvc...@undergrad.math.uwaterloo.ca (Matt Corks)
Subject: Re: Ascii-art in HTML
Date: 1996/07/12
Message-ID: <DuF...@undergrad.math.uwaterloo.ca>#1/1
X-Deja-AN: 168147604
sender: new...@undergrad.math.uwaterloo.ca (news spool owner)
references: <4rigs4$ed...@olorin.nask.pl> <31E...@iastate.edu> <0$FNQ...@xemu.demon.co.uk> <31E...@iastate.edu>
organization: University of Waterloo
newsgroups: alt.ascii-art,alt.html
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1996 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