How to add an HTML blank space from asp.net script

I need to add multiple blank spaces in an html control from vb.script, I have tried to add a " "  in a loope but HTML iterpret them as a only white space....

Regards
dimensionavAsked:
Who is Participating?
 
Easwaran ParamasivamConnect With a Mentor Commented:
If   is not working try below workaround.

<span style="padding-left:20px">This line starts after some blank space at left</span>

<span style="padding-right:20px">This line endsafter some blank space at right</span>

0
 
PagodNaUtakCommented:
use "&nbsp" to add space in the html.
0
 
dimensionavAuthor Commented:
I have tried adding it as a part of a string from the script but asp.net interprets separated the blank html space:

instead of show this &nbsp; shows &amp;nbsp;
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
disruptCommented:
vb script does have a space function

http://www.w3schools.com/vbscript/func_space.asp
0
 
Easwaran ParamasivamConnect With a Mentor Commented:
Try &#32; instead or &nbsp;
Please do refer http://www.ascii.cl/htmlcodes.htm 
0
 
ExpertLogin_890Commented:
Add "&nbsp;" when ever you need a space in html web controls and asp.net web control
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.