Rick Merrill wrote:
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
playing now and in the next couple of hours. The html/javascript is
run periodicly by a frequent, scheduled batch file to produce a
graphic image that is put on the TV as 'filler' before the next show.
that's why.
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.)