Solved

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

Posted on 2011-09-14
6
297 Views
Last Modified: 2012-05-12
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
0
Comment
Question by:dimensionav
6 Comments
 
LVL 8

Expert Comment

by:PagodNaUtak
ID: 36540327
use "&nbsp" to add space in the html.
0
 

Author Comment

by:dimensionav
ID: 36540376
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   shows  
0
 
LVL 16

Expert Comment

by:disrupt
ID: 36540452
vb script does have a space function

http://www.w3schools.com/vbscript/func_space.asp
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 16

Accepted Solution

by:
Easwaran Paramasivam earned 500 total points
ID: 36540754
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
 
LVL 16

Assisted Solution

by:Easwaran Paramasivam
Easwaran Paramasivam earned 500 total points
ID: 36540781
Try &#32; instead or &nbsp;
Please do refer http://www.ascii.cl/htmlcodes.htm
0
 
LVL 3

Expert Comment

by:ExpertLogin_890
ID: 36541720
Add "&nbsp;" when ever you need a space in html web controls and asp.net web control
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now