[thelist] RE: HTML/ASP question

Janet Nabring-Stager jnabring at yahoo.com
Fri Oct 5 12:26:10 CDT 2001


HUGE apologies all around:  Please substitute 'height' for 'width' in
the message below.  I'm trying to find a way to end output when a
certain cell height has been reached.
Sorry about the confusion :(
--- "Ornstein, Ian" <IanOrnstein at NC.SLR.com> wrote:
> If you have specifed a width for the table cell then
> you can use 
>      strTemp = Left(strYourString,intCellWidth*chars/pixels) 
>      Reponse.Write (strTemp) 'into the table cell.
> If you do not limit the length of th text then
> it will wrap and create another line in the table
> 
> Let us know how it works out...
> -----Original Message-----
> From: Janet Nabring-Stager [mailto:jnabring at yahoo.com]
> Sent: Wednesday, October 03, 2001 3:17 PM
> To: the list
> Subject: [thelist] [thelist]HTML/ASP question
> 
> 
> Hi all-
> A strange theoretical question in HTML/ASP-land...
> Can you somehow, through scripting, indicate when a table cell has
> reached a maximum width?  For example, you are filling up a table
> cell with some database results that are long and just want to give
> your viewers a teaser.  Once you reach the maximum width, you'd
> want
> to cut off listing the results and have a link like "See more
> results."
> Is this possible?  If so, any ideas on how to approach this are of
> course welcome :)
> TIA-
> 
> Oh, and here's a tip to make up for the last time/for the
> future/because I actually have one!
> 
> <tip>
> When working with an Access database and ASP, using Response.Write
> in
> a table cell, watch out for the <PRE> tag.  Your data won't wrap
> nicely in the cell; instead, it will print out on one line as <PRE>
> tells the browser to print exactly as formatted.
> </tip> 
> 
> =====
> Janet Nabring-Stager
> http://www10.ewebcity.com/jnabring
> 
> __________________________________________________
> Do You Yahoo!?
> NEW from Yahoo! GeoCities - quick and easy web site hosting, just
> $8.95/month.
> http://geocities.yahoo.com/ps/info1
> 
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt ! 


=====
Janet Nabring-Stager
http://www10.ewebcity.com/jnabring

__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1




More information about the thelist mailing list