Re: poetry advice sought



In article <Xns9A6F9B6687FE3neredbojiasnano@xxxxxxxxxxxxx>,
Neredbojias <ex@xxxxxxxxxxx> wrote:

On 28 Mar 2008, JWS <JWS@xxxxxxx> wrote:

Neredbojias wrote:

First of all, try this instead of what you got:

<div style="margin:auto;width:50%;white-space:nowrap;">

Others will probably come along with more comprehensive advice.
If not, I'll be back!

I used your suggestion in a new version of the page:

http://www.jw-stumpel.nl/yeats-test.html

This is definitely better than my original design (behaves better
when the window width is changed) but I can't help thinking that
there might be even better solutions. So please, do come back!

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.

Anyway, might as well throw in my fiddling too:

<http://netweaver.com.au/alt/yeats.html>

--
dorayme
.



Relevant Pages

  • Re: Underscore (_) will not always display in RTF files (Word 2002
    ... Some applications will allow the display of screen fonts, like Courier. ... > underscore, the Reveal Formatting pane exhibited the Selected Text as ...
    (microsoft.public.word.docmanagement)
  • Re: word 2004 printer metrics gone
    ... > to format standard courier font letters avoid expansion or kerning ... > problem caused by differences between MAC fonts and MS fonts. ... in short, mac courier is MS new courier, and they are not ... which seems to mean they don't intend to fix it. ...
    (microsoft.public.mac.office.word)
  • Re: Im sure I shall regret this.............
    ... Yebbut, then you'll have an ugly, monospaced typeface, probably Courier. ... If you care that much about what your poetry looks like, ... the more tightly you try and decide what fonts someone ... All attempts to play these files produce ...
    (uk.rec.sheds)
  • word 2004 printer metrics gone
    ... SInce Word Mac 98, I have had to use the "use printer metrics" option ... problem caused by differences between MAC fonts and MS fonts. ... in short, mac courier is MS new courier, and they are not ...
    (microsoft.public.mac.office.word)
  • Re: Printing in VB6 Professional
    ... I changed the font to "Courier New", ... Courier and Courier New are both fixed-pitched fonts. ... it most likely wouldn't print quite the same way as its screen-counterpart, ... going to enumerate fonts installed on the current system. ...
    (microsoft.public.vb.controls)