Re: poetry advice sought
- From: Neredbojias <ex@xxxxxxxxxxx>
- Date: Sat, 29 Mar 2008 07:37:36 +0000 (UTC)
On 28 Mar 2008, dorayme <doraymeRidThis@xxxxxxxxxxxxxxx> wrote:
Chris's solution strategy is probably the best. Find the length of
the longest line in ems (-I think he arrived at 25em) and set the div
width to that, with margin:auto;. I would retain the
white-space:nowrap;, though.
You have to be a bit careful with specifying a width. With some fonts,
eg, Courier, I found 25em was too little. I was looking at B's pre and
it came up in my default Courier. But if you allow for the widest of
the fonts, you will bugger up the centering a bit! Swings and
roundabouts.
Right, and I should also mention that one should run through the gamot of
reasonable font-size adjustments in a browser when setting this.
Anyway, might as well throw in my fiddling too:
<http://netweaver.com.au/alt/yeats.html>
Looks decent to me. Centering can sometimes be fine-tuned by adding a
little padding-left to compensate for the uneven right side of text.
--
Neredbojias
http://www.neredbojias.com/
Great sights and sounds
.
- References:
- poetry advice sought
- From: JWS
- Re: poetry advice sought
- From: Neredbojias
- Re: poetry advice sought
- From: JWS
- Re: poetry advice sought
- From: Neredbojias
- Re: poetry advice sought
- From: dorayme
- poetry advice sought
- Prev by Date: Digital Products on website
- Next by Date: Re: Digital Products on website
- Previous by thread: Re: poetry advice sought
- Next by thread: Re: poetry advice sought
- Index(es):
Relevant Pages
|