Welcome visitor
* Login
* Register
It is currently March 25th, 2019, 2:12 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 3 posts ] 
Author Message
  help with spaces
PostPosted: September 23rd, 2009, 5:40 am 

Posts: 15
Im trying to have my text aligned in some way like this
Quote:
introduction 3
first chapter 5
second chapter 9

but it always looks like all white spaces collapse into one
Quote:
introduction 3
first chapter 5
second chapter 9

is there a way to make it respect my own spaces?


Top
 Profile  
 
  Re: help with spaces
PostPosted: September 23rd, 2009, 5:42 am 

Posts: 15
See? the course follows me even in this forum. The first example should be something like
Quote:
introduction......................................3
first chapter......................................5
second chapter.................................9

but with white spaces instead of dots


Top
 Profile  
 
  Re: help with spaces
PostPosted: September 23rd, 2009, 7:26 am 
User avatar

Posts: 52
there's this css style
white-space:pre;

add that style to the text you need to have it. the default is to collapse all white spaces into one.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron