The forum will not allow me to attach .htm files. So here is the text copied and pasted from the NewHTML.htm file, with the only changes I made changing the font size to 18, not because I want it at 18, but just because it'll be instantly hugely obvious if the changes take, so I know my changes are working.
Also, in the HTML pane itself I am able to select a font size of 1 - 7. I'm curious why font size isn't expressed in the same way in the .htm file?
If you create a blank item, and in the HTML pane, you switch to code view and replace it with this html code, the font is large as expected, so the html is correct
Steps are:
Close IQ
Edit the NewHTML.HTM that is in your user folder (perhaps you edited the wrong one, there is also one in the IQ AppFiles folder, that one is for a new user)
Paste this html code
Re-open IQ
Alternatively, you can:
Create a blank item
In the HTML pane, switch to code view
Edit the code
Switch back to normal view
Do Menu > File > Save as Default...
Note that you're missing the encoding meta tag (UTF-8 is the one format to use nowadays). I suggest starting with the one supplied with IQ and making mods on that one
Pierre, I have tried this numerous times, no success. As an example I tried method # 2 in your post above, selected "view HTML code" from the HTML pane and made font changes, then added some gibberish at the very end such as "this is some text" (just to see if that would work), and then saved that as the new default. In that case for every new item the HTML pane will contain "this is some text" just as it should, but the font size never changes. And if I go to the NewHTML.htm file and look at it, the font size has not changed.
If on the other hand I use method number one in your post, and change the font size in the NewHTML.htm file itself, it still makes no difference, the font size on new items in the HTML pane simply does not change.
I made sure I am changing the file in the user folder. I also copied and pasted the HTML from the app files folder htm file into the file in the user folder, just so I was starting from what IQ currently starts off with (and then modified that).
Would you test this and make sure it's working for you?
OK, using method 2 I was able to get it to work. The mistake I had made when I tried method 2 method the first time was I did not switch back to normal mode before saving, which seems to be a required step. I also see it's now updated in the NewHTML.htm file itself, as it should be.
And strangely, the very moment I made that change and it worked, I was then able to close IQ, modify the file in the user folder, and then have that change take affect in IQ as well.
I'm afraid I spoke to soon, there's definitely something weird going on where font size keeps getting overwritten back to the system defaults. Please see screenshot showing how it's clearly set to 14 in the htm file, but for some reason IQ has reverted back to the defaults of 13 and 11 again. And even once it's reverted back, the HTM file still shows the values I changed it to. So the htm file is showing the value I set it to, but it's being overridden from somewhere.
Using your method 2 I can change it, but it always gets overwritten. It appears to get overwritten when I close and reopen IQ, but I'll have to test that some more to say for sure.
Fixed: HTML Pane: Changes to the default HTML document were being overwritten at startup
Change: HTML Pane: System supplied default HTML file uses larger font, supports Unicode and more compact bulleted lists To use this new file, with IQ closed, either delete your user HTMLNew.HTM file or copy the system one to your user folder
Comments
<META content="InfoQube 0.9.25R" name=GENERATOR>
<STYLE> body {font-family:Sans-serif; font-size:18 pt;}
table {font-family:Sans-serif; font-size:18 pt;}
P {margin: 0px, 0px, 0px, 0px;font-family:Sans-serif; font-size:18 pt;}</STYLE>
</HEAD>
<BODY style="MARGIN: 2px; ZOOM: 1" bottomMargin=0 bgColor=#ffffff leftMargin=2
topMargin=2 rightMargin=2>
<P> </P></BODY></HTML>
To use this new file, with IQ closed, either delete your user HTMLNew.HTM file or copy the system one to your user folder