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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding Spaces to Listbox

Status
Not open for further replies.

chadau

Programmer
Nov 14, 2002
155
US
Can anyone tell me how to add white spaces before lines of text in a Listbox. I have tried " Sometext" and      & "SomeText". The spaces show up whenever I view the ASP pages source, but not in the control. Any help would be greatly appreciated.
 
"& n b s p ;" without spaces is the html code for a space

That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
 
I'm using the ASP.Net Text Area. My problem is that when i click anywhere in the text area, the cursor is set to that position, now this is very annoying specially when there is no text in the control.
Somehow, can the position of the cursor be fixed to (0,0) or to the end of the text?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top