Re: stylesheet for screenplays - @page example ?
wolfgangwildebl ood@yahoo.com.a u (Wolfgang Wildeblood) wrote:[color=blue]
>Neal <neal413@yahoo. com> wrote:[color=green]
>> On 20 Jun 2004 22:51:41 -0700, Wolfgang Wildeblood
>> <wolfgangwildeb lood@yahoo.com. au> wrote:
>>[color=darkred]
>> > But to get the same formatting on screen (i.e. line breaks in the same
>> > places), you simply specify directly that you want 60 characters per
>> > line.
>> >
>> > p {
>> > width: 60em !important;
>> > margin: auto;
>> > }[/color]
>>
>>
>> If only 1em = 1 character![/color]
>
>That's the whole point of using monospaced fonts, Neal.[/color]
But 1em is still the height of the font, not the width of a character.
Try it for yourself.
<div style="width: 10em; font-family: monospace; padding: 0; border:
1px solid red;">123456789 0</div>
See how much wider the div is than the text?
[color=blue]
>Just send your grovelling retraction on good quality paper suitable
>for framing, okay?[/color]
I'm sure Neal looks forward to receiving that from you.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <steve@pugh.net > <http://steve.pugh.net/>
wolfgangwildebl ood@yahoo.com.a u (Wolfgang Wildeblood) wrote:[color=blue]
>Neal <neal413@yahoo. com> wrote:[color=green]
>> On 20 Jun 2004 22:51:41 -0700, Wolfgang Wildeblood
>> <wolfgangwildeb lood@yahoo.com. au> wrote:
>>[color=darkred]
>> > But to get the same formatting on screen (i.e. line breaks in the same
>> > places), you simply specify directly that you want 60 characters per
>> > line.
>> >
>> > p {
>> > width: 60em !important;
>> > margin: auto;
>> > }[/color]
>>
>>
>> If only 1em = 1 character![/color]
>
>That's the whole point of using monospaced fonts, Neal.[/color]
But 1em is still the height of the font, not the width of a character.
Try it for yourself.
<div style="width: 10em; font-family: monospace; padding: 0; border:
1px solid red;">123456789 0</div>
See how much wider the div is than the text?
[color=blue]
>Just send your grovelling retraction on good quality paper suitable
>for framing, okay?[/color]
I'm sure Neal looks forward to receiving that from you.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <steve@pugh.net > <http://steve.pugh.net/>
Comment