After formatting the text looks like i will need to issue a word wrap, any ideas? ----- Original Message ----- From: "Ben Timby" <[EMAIL PROTECTED]> To: "ActiveServerPages" <[EMAIL PROTECTED]> Sent: Thursday, August 29, 2002 11:07 AM Subject: RE: preserving spaces in DB entries.
> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > The DB is most likely preserving your spaces, but when you display > them as HTML, the browser is not showing them. You can easily test > this by viewing source on your page. You can fix this by doing the > following: > > 'get your txt from DB, store it in ProblemDesc > > Response.Write(Replace(Replace(ProblemDesc, " ", " "), vbcrlf, > "<br>")) > > This will replace spaces w/ no-breaking spaces w/ your browser will > respect, carriage returns will be replaced by <br> tags. > > Ben Timby > Webexcellence > PH: 317.423.3548 x23 > TF: 800.808.6332 x23 > FX: 317.423.8735 > [EMAIL PROTECTED] > www.webexc.com > > - -----Original Message----- > From: PK [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 29, 2002 8:59 AM > To: ActiveServerPages > Subject: preserving spaces in DB entries. > > > Hello All, > > When adding new entries to my problem tracking system my "paste ins" > from > emails loose their spacing of characters. How do I preserve data > spaces and > format when using access and asp 3 on IIS5? > > Thanks, > > Paul > > > > - --- > You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] > To unsubscribe send a blank email to > %%email.unsub%% > > -----BEGIN PGP SIGNATURE----- > Version: PGP 7.0.4 > > iQA/AwUBPW5ip/nby1cCm2Q8EQJr/QCfVgkgJw4geHWMM38gVZkiLdZITCMAoM1l > wpKiqsTh5WKNEaELJFHx1o97 > =7EVk > -----END PGP SIGNATURE----- > > > > --- > You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] > To unsubscribe send a blank email to %%email.unsub%% > > > --- You are currently subscribed to activeserverpages as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
