|
Convenient web based access to our favorite web design Usenet groups
|
 |
This is Interesting: Free Magazines for Graphics designers and webmasters
| Author |
| Thread |
 |
|
|
|
|
|
 |
 |
 |
stylesheet for screenplays - @page example ? |
 |
|
 |
|
|
|
 |
 |
Re: stylesheet for screenplays - @page example ? |
 |
|
 |
|
|
|
  06-20-04 - 05:15 PM
|
On Sat, 19 Jun 2004 12:36:29 -0400,
David J Patrick <davidjpatrick@sympatico.ca> posted:
> I'm trying to rewrite the CSS used in
> http://s92415866.onlinehome.us/file...playCSSv2.html.
> using the w3.org paged media standards as described at
> http://www.w3.org/TR/REC-CSS2/page.html
>
> The ScreenplayCSS is flawed, for several reasons;
> -overuse of <div id= tags
> -doesn't scale screen resolutions (convert from px to in, pt ?)
> -no media="print" (how much coule be shared between "screen" & "print")
Pt should be fine for printing, but not for the screen. You're probably
best not to make font specifications in the screen styling (that's normal
advice, but I'd say even more so if you want to submit something long for
someone to read that might earn you a job - remove all obstacles that make
browser reading a pain).
> -no automatic page breaks (with automatic numbering ?)
>
> Is it possible to drive a consistant printout, from html, with CSS ?
This sort of thing, and what browsers typically do when printing (add their
own footers and headers) are some of the reasons that you'd probably not
want to print such things from a web browser.
--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.
This message was sent without a virus, please delete some files yourself.
|
|
|
| [
Post Follow-Up to this message ]
|
|
|
|
|
 |
 |
Re: stylesheet for screenplays - @page example ? |
 |
|
 |
|
|
|
  06-21-04 - 09:39 AM
|
David J Patrick <davidjpatrick@sympatico.ca> wrote:
> The ScreenplayCSS is flawed, for several reasons;
> -overuse of <div id= tags
Damn right, all those IDs should be classes. This won't bother the
CSS, but it's very broken HTML.
> -doesn't scale screen resolutions (convert from px to in, pt ?)
> -no media="print" (how much could be shared between "screen" & "print")
Not much. You go about it (screen and print formatting) two different
ways.
Take MyNovel.txt, for example. To print this as a "manuscript" to send
to a publisher you'd want a specific format:-
- A monospaced font giving exactly:
- 60 characters per line,
- 25 lines per page,
- 1500 characters (250 words) per page.
To achieve this in print you measure the size of the paper, deduct the
margins, then divide by 60 to get the font-size that results in 60
characters per line. Then set a line-height that results in 25 lines
per page.
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;
}
That's all there is to it; as usual for screen, no mention of
font-size at all. So the stylesheet just looks something like:
@media print, projection, screen {
* {
font-family: "Courier New", monospace !important;
line-height: 2;
}
}
@media print {
* { font-size: 12pt /* or whatever */ !important;
}
@media projection, screen {
p {
width: 60em !important;
margin: auto;
}
}
--
"He's a kind of super-criminal, he can travel through time and space."
|
|
|
| [
Post Follow-Up to this message ]
|
|
|
|
|
 |
|
|
 |
|
|
 |
| All times are GMT. The time now is 04:33 AM. |
 |
|
|
|
|
|  |
|