![]() | |
![]() |
| | 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. A visual example, because it's 2:30 AM and I don't want to try to describe it: MARGIN| S O M E T E X T |MARGIN Where "SOME TEXT" is a heading, presumably, and the spacing between letters works out such that the contents space to fit the whole box, which stretches and shrinks with the browser or page. Ideally we'd like to avoid putting each letter in a div, but if that's the only way... |
#2
| |||
| |||
|
|
Evertjan. wrote: style span{width:400px;border:green solid 1px; ^^^^^^^^^^^^ No good. The box in question has to change size with the page. Letter-spacing seems to behave a little weirdly with percentage lengths in that each letter is frequently (non-monospaced) font not the same width on its own. |
![]() |
| Thread Tools | |
| Display Modes | |
| |