![]() | |
![]() |
| | Thread Tools | Display Modes |
#21
| |||
| |||
|
|
I'm trying to rewrite the CSS used in http://s92415866.onlinehome.us/files...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") -no automatic page breaks (with automatic numbering ?) The "hollywood" screenplay format is well defined (http://www.online-communicator.com/faq20_5.html) Is it possible to drive a consistant printout, from html, with CSS ? Does anyone have suggestions for improvement of the above ScreenplayCSS ? How about an example of a page that uses the @page definition ? thanks ! |
#22
| ||||
| ||||
|
|
On Mon, 21 Jun 2004 12:32:27 +0100, Alan J. Flavell wrote: However, in this special case it seems the author is trying to visually reproduce the appearance of a paper document. That's a special (and in some sense perverse - no offence intended) way of using HTML, with or without CSS. I'm not sure what to suggest - *any* choice is going to be a compromise. Yeah, as I see it now (and it's a moving target) I'd like to create a CSS with three profiles; 1. (media="screen") a smooth flowing, readable version, with light formatting and the users choice of font/ size. This (least formal) could also feature a pure CSS menu to navigate the script, etc. If possible, page breaks will be indicated, but not forced, based on a rigid layout. |
|
2. (media="screen-rigid") this layout gives a visual page field (like ScreenplayCSSv2) and adheres strictly print formatting conventions even so far as to put shadows where the tree-hole-punch goes. |
|
3. (media="print") same as 2. .. only more so ! |
|
If this can only be done consistently using one browser (Mozilla) SO BE IT ! It's freely available for you platform! I realize that a lot of this flies in the face of conventional web wisdom, perhaps that's why it's never been done. That doesn't mean it CAN'T be done ! |
#23
| |||
| |||
|
|
However, in this special case it seems the author is trying to visually reproduce the appearance of a paper document. That's a special (and in some sense perverse - no offence intended) way of using HTML, with or without CSS. |
|
I'm not sure what to suggest - *any* choice is going to be a compromise. |
#24
| |||||
| |||||
|
|
Tim wrote: You can't mimic the page count on screen, as you don't have pages on the screen. You have something analagous to a continuous roll of paper. |
|
Any clues how to use @page, break rules and numbering ? You'll have to wait for browsers to be improved. Few have any decent sort of support for those things. It's generally only the experimental ones (e.g. Mozilla) that have any support for page media effects. |
|
You probably want to look into a program designed for text manipulation (a real word processor, not a desk top publisher). Probably something like Tex or Latex |
|
In the past, I've written programs for custom handling of text. It was easier, for me then, than trying to find something ready made, and I had my source material in a manageable format too (that's important). |
|
There's no ability to "force" anything in WWW authoring... |
#25
| |||
| |||
|
|
Possibly what I'd suggest is: Stylesheet 1: Media="screen" Alternate Stylesheet 2: Media="screen" Stylesheet 3: Media="print" |
|
The alternate stylesheet implementation fails on page changes in every browser I've seen that does it at all. But my impression of this is that you intend it to be a single long file anyway, where that isn't a problem. |
|
Alternatively (and with more support in browsers) you could switch between 1 and 2 using server-side scripting, which would be a better solution, if you have server-side scripting available. |
#26
| |||
| |||
|
|
Apologies if this is on the wrong track but Final Draft - which is pretty much accepted in the industry - works to the "Hollywood" format and has a "Save as html option" which I've never used until your post. |
#27
| |||
| |||
|
|
Yeah, as I see it now (and it's a moving target) I'd like to create a CSS with three profiles; 1. (media="screen") a smooth flowing, readable version, with light formatting and the users choice of font/ size. This (least formal) could also feature a pure CSS menu to navigate the script, etc. If possible, page breaks will be indicated, but not forced, based on a rigid layout. 2. (media="screen-rigid") this layout gives a visual page field (like ScreenplayCSSv2) and adheres strictly print formatting conventions even so far as to put shadows where the tree-hole-punch goes. 3. (media="print") same as 2. .. only more so ! |
#28
| |||
| |||
|
|
It seems to me that the second case might just be an on-screen preview of the third (media="print") case. If so, then current browsers can give you a print preview, using the media="print" style sheet. |
#29
| |||
| |||
|
|
On Mon, 21 Jun 2004 16:57:49 +0100, Chris Morris wrote: Possibly what I'd suggest is: Stylesheet 1: Media="screen" Alternate Stylesheet 2: Media="screen" Stylesheet 3: Media="print" yeah, /that's/ what I meant ! What I don't know (yet) is the mechanism to call that Alternate Sheet. |
#30
| |||
| |||
|
|
Neal wrote: If only 1em = 1 character! I learned that the hard way. It's a pity there isn't a standard measurement for a character. |
![]() |
| Thread Tools | |
| Display Modes | |
| |