Welcome visitor
* Login
* Register
It is currently July 22nd, 2019, 10:32 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
  White Space issues on Html
PostPosted: December 23rd, 2009, 5:14 am 

Posts: 16
Im working with groups of 3 characteristics of certain cosmetics, Name-Description-Price, but some items doesn't have a description

Heaven Drops, New, £2.50
Happy Mirror, £5.00


If I write:

Heaven Drops, New, £2.50
Happy Mirror, £5
( :lol: I can't show you what I want because the white spaces are collapsing here too)

spaces will collapse and everything will be shown together, as in the first list. Is there a way to set an space but in case there's a description the space should be removed?


Top
 Profile  
 
  Re: White Space issues on Html
PostPosted: December 23rd, 2009, 6:02 am 

Posts: 55
You can write your lines inside the pre tags
<pre>
Heaven Drops,      New,      £2.50
Happy Mirror,                £5.00
</pre>


Top
 Profile  
 
  Re: White Space issues on Html
PostPosted: December 23rd, 2009, 8:46 am 
User avatar

Posts: 40
In this case I would encourage the use of tables
<table>
   <tr><td>Heaven Drops</td><td>New</td><td>£2.50</td></tr>
   <tr><td>Happy Mirror</td><td></td><td>£5.00</td></tr>
</table>


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