Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: how to print spaces-quite urgent


Message #1 by "taherm@f... on Mon, 25 Feb 2002 12:15:14

i am using cdonts and want to fire an automated formatted html email



tab1=len(request("OrderNo")



HTML = HTML & request("order2") & String( tab1 , "  " )



but it doesnt seem to print the required spaces on the email. it just 

prints one space even if teh len(request("OrderNo")=10



please help me ...



regards
Message #2 by "Alex Shiell, ITS, EB, SE" <alex.shiell@s...> on Mon, 25 Feb 2002 12:22:47 -0000
First rule of HTML - Whitespace and carriage returns are ignored



Use &nbsp; for a space. I'm sure you know about <BR> already...



-----Original Message-----

From: taherm@f...

[mailto:taherm@f...]

Sent: 25 February 2002 12:15

To: ASP Web HowTo

Subject: [asp_web_howto] how to print spaces-quite urgent







i am using cdonts and want to fire an automated formatted html email



tab1=len(request("OrderNo")



HTML = HTML & request("order2") & String( tab1 , "  " )



but it doesnt seem to print the required spaces on the email. it just 

prints one space even if teh len(request("OrderNo")=10



please help me ...



regards




$subst('Email.Unsub').



________________________________________________________________________

Scottish Enterprise Network

http://www.scottish-enterprise.com



Headquarters Address & Contact Numbers



150 Broomielaw

5 Atlantic Quay

Glasgow

G2 8LU.

Tel:  +44 (0) 141 248 2700.

Fax:  +44 (0)141 221 3217



 This message is sent in confidence for the addressee only.

It may contain legally privileged information. The contents are not to

be disclosed to anyone other than the addressee. Unauthorised recipients

are requested to preserve this confidentiality and to advise the sender

immediately of any error in transmission.





Message #3 by "Taher Moiyed \(Fusion\)" <taherm@f...> on Mon, 25 Feb 2002 12:34:15 -0000
I have tried using &nbsp



And instead of printing spaces it print &&&&&&

My reviced code

tab1=len(request("OrderNo")



HTML = HTML & request("order2") & String( tab1 , "&nbsp;" )



Please let me know alex





-----Original Message-----

From: Alex Shiell, ITS, EB, SE [mailto:alex.shiell@s...] 

Sent: 25 February 2002 12:23

To: ASP Web HowTo

Subject: [asp_web_howto] RE: how to print spaces-quite urgent





First rule of HTML - Whitespace and carriage returns are ignored



Use &nbsp; for a space. I'm sure you know about <BR> already...



-----Original Message-----

From: taherm@f...

[mailto:taherm@f...]

Sent: 25 February 2002 12:15

To: ASP Web HowTo

Subject: [asp_web_howto] how to print spaces-quite urgent







i am using cdonts and want to fire an automated formatted html email



tab1=len(request("OrderNo")



HTML = HTML & request("order2") & String( tab1 , "  " )



but it doesnt seem to print the required spaces on the email. it just 

prints one space even if teh len(request("OrderNo")=10



please help me ...



regards




$subst('Email.Unsub').



________________________________________________________________________

Scottish Enterprise Network

http://www.scottish-enterprise.com



Headquarters Address & Contact Numbers



150 Broomielaw

5 Atlantic Quay

Glasgow

G2 8LU.

Tel:  +44 (0) 141 248 2700.

Fax:  +44 (0)141 221 3217



 This message is sent in confidence for the addressee only.

It may contain legally privileged information. The contents are not to

be disclosed to anyone other than the addressee. Unauthorised recipients

are requested to preserve this confidentiality and to advise the sender

immediately of any error in transmission.










$subst('Email.Unsub').



---

Incoming mail is certified Virus Free.

Checked by AVG anti-virus system (http://www.grisoft.com).

Version: 6.0.323 / Virus Database: 180 - Release Date: 08/02/2002

 



---

Outgoing mail is certified Virus Free.

Checked by AVG anti-virus system (http://www.grisoft.com).

Version: 6.0.323 / Virus Database: 180 - Release Date: 08/02/2002

 



Message #4 by "Peter Rooney" <peter.rooney@p...> on Mon, 25 Feb 2002 13:05:28 -0000
Try it like this





HTML = HTML & request("order2") & "&nbsp;" & String( tab1 )







-----Original Message-----

From: taherm@f...

[mailto:taherm@f...]

Sent: 25 February 2002 12:15

To: ASP Web HowTo

Subject: [asp_web_howto] how to print spaces-quite urgent







i am using cdonts and want to fire an automated formatted html email



tab1=len(request("OrderNo")



HTML = HTML & request("order2") & String( tab1 , "  " )



but it doesnt seem to print the required spaces on the email. it just

prints one space even if teh len(request("OrderNo")=10



please help me ...



regards




$subst('Email.Unsub').



Message #5 by Alexander Chuprin <mur@l...> on Mon, 25 Feb 2002 16:50:08 +0300
Hello, Alex.



Monday, February 25, 2002, 3:22:47 PM, you wrote:



ASIES> First rule of HTML - Whitespace and carriage returns are ignored



... sometimes. But sometimes not. There are situations when

whitespaces ans CRs are quite important. FE: TD.



>> i am using cdonts and want to fire an automated formatted html email

>> tab1=len(request("OrderNo")

>> HTML = HTML & request("order2") & String( tab1 , "  " )

>> but it doesnt seem to print the required spaces on the email. it just

>> prints one space even if teh len(request("OrderNo")=10





-- 

Test rewards,

 Alexander                            mailto:murlandia@m...



Message #6 by "Alex Shiell, ITS, EB, SE" <alex.shiell@s...> on Mon, 25 Feb 2002 13:57:33 -0000
yeh, within tags, sure.  I just meant within text.



-----Original Message-----

From: Alexander Chuprin [mailto:mur@l...]

Sent: 25 February 2002 13:50

To: ASP Web HowTo

Subject: [asp_web_howto] RE: how to print spaces-quite urgent





Hello, Alex.



Monday, February 25, 2002, 3:22:47 PM, you wrote:



ASIES> First rule of HTML - Whitespace and carriage returns are ignored



... sometimes. But sometimes not. There are situations when

whitespaces ans CRs are quite important. FE: TD.



>> i am using cdonts and want to fire an automated formatted html email

>> tab1=len(request("OrderNo")

>> HTML = HTML & request("order2") & String( tab1 , "  " )

>> but it doesnt seem to print the required spaces on the email. it just

>> prints one space even if teh len(request("OrderNo")=10





-- 

Test rewards,

 Alexander                            mailto:murlandia@m...








$subst('Email.Unsub').



________________________________________________________________________

Scottish Enterprise Network

http://www.scottish-enterprise.com



Headquarters Address & Contact Numbers



150 Broomielaw

5 Atlantic Quay

Glasgow

G2 8LU.

Tel:  +44 (0) 141 248 2700.

Fax:  +44 (0)141 221 3217



 This message is sent in confidence for the addressee only.

It may contain legally privileged information. The contents are not to

be disclosed to anyone other than the addressee. Unauthorised recipients

are requested to preserve this confidentiality and to advise the sender

immediately of any error in transmission.






  Return to Index