Quote:
Originally Posted by bookman156
Not sure why you need divs, is there any advantage in that approach do you think?
|
I explained my poetry code in:
(It's towards the very end of that post in "Side Note #2".)
I use 3 classes:
- <div class="poem">
- Gets its own top/bottom/left/right spacing.
- <div class="stanza">
- Gets its own top/bottom spacing.
- Helps organize + keep each stanza together.
- <p class="poem">
- Each line + Negative indent.
All the details are described in that thread, especially the usage of
page-break-inside: avoid.
Advantages are in code readability/maintainability + very easy to tweak.
Quote:
Originally Posted by Jellby
Nowadays I use something like:
[...]
|
Yep. I second anything that Jellby says.
(He's the one who taught me about all that poetry stuff years and years ago.)
We agree on 99%, and only disagree on some minor differences (he says <div>, because "poetry isn't paragraphs"... and I still insist on <p>).