/    Sign up×
Community /Pin to ProfileBookmark

Word Spacing Issues

When I put text like “Contact Us” with word-spacing, the two words Contact and Us look like this(as expected..):

Home[COLOR=Silver]………………………[/COLOR]Contact[COLOR=Silver]………………………[/COLOR]Us

Is there any way I can use a class using word-spacing with 25px and use a word like Contact Us without the results shown above?

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@gil_davisJul 22.2006 — Maybe if you put   between "Contact" and "Us". Otherwise, you'll have to use some kind of column approach, like a table (shudder). If you only have two or three things, you can take advantage of "align: left" and "align: right". Other than that, you are pretty much stuck.
Copy linkTweet thisAlerts:
@IronPegasusauthorJul 22.2006 —   doesn't work ?

Are tables the only solution to get this effect?
Copy linkTweet thisAlerts:
@IronPegasusauthorJul 22.2006 — Nevermind, I've figured it out! :o)

I just used 3 divs each with a width to simulate the word-spacing effect.
Copy linkTweet thisAlerts:
@felgallJul 22.2006 — If they are all on the same line you ashould probably use a span rather than a div.
×

Success!

Help @IronPegasus spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...