![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
We all know that text-align: justify; is supposed to justify the block's text across the box. |
|
I have a friend, however, who wants to take that further. - - MARGIN| S O M E T E X T |MARGIN |
#2
| |||
| |||
|
|
I don't think there's a way to do that in "standard" CSS, but if your friend is happy with something that works on IE 6, you could use div class="special">Some text</div with .special { text-align: justify; text-justify: distribute; text-align-last: justify; text-transform: uppercase; margin: 0 3em; } |
#3
| |||
| |||
|
|
Jukka K. Korpela wrote: div class="special">Some text</div with .special { ... text-justify: distribute; ... } Is there any movement afoot to add something similar to CSS 3, as far away as that may actually be? It seems like a useful feature. |
![]() |
| Thread Tools | |
| Display Modes | |
| |