Millisecond Forums

How to make htmlpage look similar to default page?

https://forums.millisecond.com/Topic16989.aspx

By writekristin - 8/19/2015

Some of my instructions use the default page, but some will need to include html.  I'm wondering what font and size is used in the default page so I can make them look alike?
By Dave - 8/19/2015

For standard <page> elements, you can control the font to use via the <instruct> element's /fontstyle attribute,

<instruct>
/ fontstyle = ("Verdana", 2%, true)
...
</instruct>

i.e., you have full control over it. If you don't specify anything, 16pt Arial will be used by default, I believe.
By writekristin - 8/20/2015

Ok, I see, thanks.  Do you know what the default size is?

Also, the subscribe by email on here doesn't seem to work for me...
By Dave - 8/20/2015

As I said in my previous reply, I believe the default size is 16pt. The default font is Arial.

Hope this clarifies.

P.S.: If your primary concern is a consistent look for your instruction pages, why not use <htmlpage>s throughout (i.e., no regular <page> elements at all)?
By writekristin - 8/25/2015

Ah, sorry I missed that in your initial reply.  I was initially using pages since they are easier and only creating html pages for the few I needed to specify font changes.  It seems to look consistent now after I changed the defaults.

One more question.  If I am using an html page, how can I "pass" it values from Inquisit to display?  Thanks!
By Dave - 8/25/2015

Works just like with regular <page> elements. You insert the property or value you want to display into the HTML source code surrounded by <% %>. See the HTML files included with the Tower Of London script for an example:

https://www.millisecond.com/download/library/TowerOfLondon/