I searched here, but only found a reference from 9 (!) years ago, so I’m hoping there’s a different answer.
Admittedly, I’m not well versed in HTML, either. Ok, that’s out of the way.
Is there a way to have an image resized automatically? We plan on having opening splash screens and it would be ideal to have the .jpg fit the current terp window. I’m using the following code I got from Nikos and Eric to display the initial image followed by the banner code:
I’m not very well versed in TADS, even though I’ve messed with it in the past, so I can’t really help you much here. Hopefully someone else can jump in.
Although, I wonder if you actually need to escape the quotes there. Since you’re surrounding the text in single quotes, double quotes without the escape character should be acceptable, I would think.
In non-webUI games, you can only specify a size in pixels. Relative sizes are unfortunately not supported. Also, style sheets aren’t supported. So things like style='text-align: center;' don’t actually do anything.
So yeah, it was easier than I thought. I was afraid my lack of HTML skills would be a detriment, but it’s simply done by adding height =“nn” width =“nn”.