Date: Tue, 22 Jul 1997 14:36:39 +0200 (MET DST) From: "Martin J. Duerst" <firstname.lastname@example.org> cc: email@example.com Subject: Re: Mdash and Textarea answers In-Reply-To: <firstname.lastname@example.org> Message-ID: <Pine.SUN.3.96.970722143407.245w-100000@enoshima> 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.