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

stupid question about white space

Status
Not open for further replies.

Wolfie7873

Technical User
Jan 15, 2004
94
US
Can I make a string literal in HTML?

I am creating a procedure in C++ to programatically create an HTML file. The text version of the file will contain white spaces buffering the pieces of a line from one another. How do I tell HTML to not ignore those spaces? I'd rather not have to implement some sort of table, but I will if necessary.

The table, however, would need to have no borders and the columns would be of different sizes.
 
oh, we are trying to write (with space separated)

& nbsp ;

it is with no spaces!!!
 
Here's a good list of all the HTML escape characters.

Non-breaking space is  

-Ron

We all play from the same deck of cards, it's how we play the hand we are dealt which makes us who we are. -Me

murof siht edisni kcuts m'I - PLEH
 
pre is powerful, but you'll still have to use lt and gt for comparisons and angle brakets arround templates... Pre is pretty good though.
 
No worries, nothing but alphanumeric characters in this output...Pre will work just fine...

Eddie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top