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!

INDENT TEXT ON USER CONTROL

Status
Not open for further replies.

drew10

Programmer
Feb 26, 2002
123
US
I have a user control that is a tableRow that is added several times to a placeholder to create a table. I have a property that gets and sets the value of a label within the user control. I am trying to indent some of the text in the label. I have tried appending " " onto the beginning of the label text. As I step through my code, it sets the label text = " sometext", but when it renders it in my browser, it has the same justification as "sometext". I have tried using chr(9) (horizontal tab) and chr(32) (space) with no luck.

This is what I would like my output to look like:

sometext
sometext
sometext
sometext
sometext
sometext
 
use the & n b s p ; instead of a plain space.

[poke]
paul
penny1.gif
penny1.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top