p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK Beginning CSS: Cascading Style Sheets for Web Design, 2nd Ed; ISBN: 978-0-470-09697-0
This is the forum to discuss the Wrox book Beginning CSS: Cascading Style Sheets for Web Design, 2nd Edition by Richard York; ISBN: 9780470096970

Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK Beginning CSS: Cascading Style Sheets for Web Design, 2nd Ed; ISBN: 978-0-470-09697-0 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 12th, 2009, 06:56 AM
Registered User
Points: 13, Level: 1
Points: 13, Level: 1 Points: 13, Level: 1 Points: 13, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2009
Location: montreal
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to code a space between words

this should be easy but I have a horizontal list of hyper;inks and i wish to insert several spaces between the words as the appear in the browser. how do i do this? I tried using white-space: pre; but this preserves all white space in the div which i don't want.
__________________
Live Long and Prosper
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old October 12th, 2009, 09:05 AM
Friend of Wrox
Points: 1,882, Level: 17
Points: 1,882, Level: 17 Points: 1,882, Level: 17 Points: 1,882, Level: 17
Activity: 7%
Activity: 7% Activity: 7% Activity: 7%
 
Join Date: May 2004
Location: India
Posts: 563
Thanks: 0
Thanked 14 Times in 14 Posts
Default

You can use   for each space.

If you want equal spaces between words, then you can use following "style":
Code:
<style>
<!--
.word{word-spacing: 20px;}
.letter{letter-spacing: 20px;}
-->
</style>
<p class="word">You can see words in this line are 20 pixels apart</p>
<p class="letter">You can see letters is this line are 20 pixels apart</p>
__________________
Om Prakash Pant

Last edited by om_prakash : October 12th, 2009 at 09:08 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #3 (permalink)  
Old October 12th, 2009, 10:17 AM
Registered User
Points: 13, Level: 1
Points: 13, Level: 1 Points: 13, Level: 1 Points: 13, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2009
Location: montreal
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

om,

thanks!
__________________
Live Long and Prosper
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to count words in pdf document + php + source code ravihj PHP How-To 0 July 16th, 2009 06:58 AM
'how to count words in pdf document + php + source code' ravihj PHP How-To 0 July 16th, 2009 06:57 AM
Words Document maha HTML Code Clinic 8 September 29th, 2004 04:08 AM
why I can't use Chinese words? cash Pro JSP 1 February 17th, 2004 02:40 PM
generating words kozam C++ Programming 1 September 30th, 2003 01:55 PM



All times are GMT -4. The time now is 06:46 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc