Re: Mdash and Textarea answers

On Mon, 21 Jul 1997, Walter Ian Kaye wrote:

> This isn't really a "how-do-i" mailing list, but since I'm a nice guy:
> 
> At 11:30a -0400 07/21/97, jptxs wrote:
>  > what's the snippet of code to render
>  > an M-Dash [a.k.a. a double unbreaking hyphen]?
>  >
>  > i looked through al the lists of codes i could
>  > find and zilch came up.
> 
> Well, most existing browsers won't recognize it, but you can find the code
> (plus codes for about 48 other special characters) in my 300-row table:
> 
>    <http://www.natural-innovations.com/boo/doc-charset.html>

There is now a named entity for this in HTML 4.0. Please have
a look at http://www.w3.org/TR/WD-html40/sgml/HTMLmisc.ent,
search for mdash.


> At 1:55p -0400 07/21/97, Patrick Doyon wrote:
>  >
>  > I'm building some sort of a "Guest Book" for our web site and, due
>  > to database constraints, we want to restrict the user to enter a
>  > message NO LONGER THAN 250 characters. How do I do this in HTML3.2?
> 
> I would make the area 62 cols by 4 rows (62 x 4 = 248), and include a note
> that anything beyond may get truncated.

You could use Java, but maybe you don't want just for this. Anyway,
when you get the data back on the server, have your CGI script
check the length of this field, and send something appropriate
back.

Regards,	Martin.

Received on Tuesday, 22 July 1997 08:36:45 UTC