>> Thanks. The following seems to work,
>
[quoted text clipped - 24 lines]
> Maybe it would help to understand WHY you want to constrain the page to
> 720px x 480px.
> This is a piece of a 2-week long listing of tv shows with javascript
> that finds the current time and only displays a screenfull of what is
[quoted text clipped - 5 lines]
> In other words, this html is a convenient way to generate the
> graphics in a semi-automatic fashion.
I would think that HTML/Javascript would be a less than optimum way to
do this.
If I am understanding correctly, what you are trying to do is use HTML
to describe an image to a program that will generate the image, then the
resulting image is displayed on a TV screen. Is that right? There may be
better ways of doing this, though we tend to use the tools we are
familiar with.
If I am correct, then the peculiarities of different browsers is not as
big an issue as it usually would be with HTML. But you still need to
manage the height of your content in some way.
Rather than trying to set the width and height of the body of the page,
place a div around your content and set the width, height, background
image, font face, font size, margins, etc of the div.
You might have better success with a program like Fly.
http://martin.gleeson.com/fly/
(Maybe. Fly won't automatically do word wrapping for you.)
Rick Merrill - 29 Jul 2008 22:02 GMT
>> This is a piece of a 2-week long listing of tv shows with javascript
>> that finds the current time and only displays a screenfull of what is
[quoted text clipped - 26 lines]
> http://martin.gleeson.com/fly/
> (Maybe. Fly won't automatically do word wrapping for you.)
I'll give the div a try.
This of course evolved from a nice, use anywhere, web page with the
NowPlaying feature, then it became a path to getting an anouncement
slide on the tv.