Thanks for the replies, everybody -- lots of food for thought! I have a busy day ahead of me away from home, so forgive me if I just quickly respond to something Rubén said...
Quote:
Originally Posted by RbnJrg
Regarding the divider in the poetry section, take in count that I assigned to the ".poetry" <div> a width of 40%. Of course, you can assign any width you wish. Also that <div> is not centered since it has a margin-left of 10% (of course, you can set here a margin-left in "ems" if you want). But in order that the dividers here are centered, you must set -for dividers- a margin-left according to their width. In this case, since I assigned a width of 30% to the ".poetry_divider" class, its margin-left must be equal to 35% (35% * 2 + 30% = 100%). Of course, you can change the values I used for margins top and bottom.
|
That's an interesting idea, I'll have to think about that -- i.e. making each poem (as a whole) have a smaller width -- although I did try doing something like that just with the paragraph for the ornament (alone) and still couldn't seem to get the top/bottom margins equal.
I do have to wonder, though, how practical that might be, re portrait vs. landscape orientation? Like, in your landscape screenshots, a margin of 40% would probably be okay, but in portrait many (if not most) of the lines would wrap -- and that would look funny, since people wouldn't understand why they were typoset (so to speak) like that. And in any case, if one is in portrait or landscape, then obviously the width of the screen changes, and then how the ornament is "centered" would change, too, and it might look funny where it ends up in one or the other (or both!).
But that's certainly a thought! I have to run off today, but I'll play with that idea (tomorrow or whenever) and see if perhaps it does work out okay.
Thanks, Rubén (and everyone)!