View previous topic :: View next topic |
Author |
Message |
SteveT
Joined: 25 Oct 2004 Posts: 6
|
Posted: Mon Oct 25, 2004 9:47 am Post subject: Writing white spaces from ASP |
|
|
Hi,
I'm trying to write a several whitespaces from ASP and all it's displayed in my browser is a single white space!
Here is my code:
Code: |
Response.Write "Content Date User"
|
The result looks like this in the browser:
instead of:
I'm getting very frustrated with this issue and I'll appreciate any help.
Thanks,
Steve |
|
Back to top |
|
|
administrator Site Admin
Joined: 01 Oct 2004 Posts: 183
|
Posted: Mon Oct 25, 2004 12:09 pm Post subject: |
|
|
Hi Steve,
This is the way the browsers display white spaces in HTML, you can have as many spaces in your Response.Write statement as you wish, but the browser will still display a single white space.
If you want to write spaces use like this:
Code: | Response.Write "Content Date User" |
_________________ Peter
ASP & ASP.NET Articles and Tutorials |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|