|
In poetry, it's commonly accepted that if a line wraps, that line should be idented.
For example, if we had a line: "The quick brown fox jumps over the lazy dog"
but didn't have enough 'width' for that many characters, the appropriate way to write the text on two lines is:
The quick brown fox jumps over
......the lazy dog
* periods = ident
I'm trying to specify for a block of text (a poem, containing lines of different widths) that any wrapping lines that don't fit in my iframe automatically ident.
For example, this poem: The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
would automatically appear in a constrained width field as: The quick brown fox jumps over
......the lazy dog
The quick brown fox jumps over
......the lazy dog
The quick brown fox jumps over
......the lazy dog
The quick brown fox jumps over
......the lazy dog
The quick brown fox jumps over
......the lazy dog
Any thoughts?
Here's an example of the site I'm trying to use this function on:
http://creativestudios.com
<--- see how the auto-generated poem gets messy when the lines are long
|