-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel Liljeberg
Sent: Wednesday, January 11, 2006 8:02 AM
Subject: [css-d] Spread words evenly.

 

I have a string of words like this. How do I do to place them evenly within
a div?

 

Foo1 Foo2 Foo3 Foo4

 

I tried to do something like this and thought that MIGHT place the spans

like I wanted them to.

 

<div style="text-align: justify"><span>Foo1</span><span>Foo2</span>.

 

[Adie Hart] 

 

You could try floating the spans and then applying a % width to them.

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to