Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Display a space in Html coding using ASP

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
i have a problem..where, when i want to display a space example as below:

| space |

if say i want to display this word which come from sql database...it will be like this in my asp page..

|space|

i could not find a coding that can display the space...because it will trim the space..i ve tried the replace method...but it still couldnt work

i hope somebody can help my problem..



attention to Mr Harold Blackorby...(thanks)
 
HTML ignores the white space. So the only way to enforce the white space is to put so called non-breaking space. This is the code for it: [red] [red] (please, don't forget the semicolon) I hope this helps. ---
---
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top