HTML font sizes in different platforms

Hello!

We are using several platforms to test our solution: Windows XP, Mac and Linux. Mostly the forms render very similarly in each platform, but in our Linux workstation almost all text sizes are a BIT too large. This is okay, we just need to ensure there is enough space between elements so the text size can vary.

However, the HTML_AREA text is quite much larger in Linux than in Mac or XP. I’ve found a way to adjust the HTML font size via CSS, but when I adjust the font size to be nice in Linux, it becomes too small in XP.

I tried also defining font size in pixels, i.e. “10px”. This didn’t fix the problem, in Linux the text is larger than in XP, although I remember using the same technique in Web pages that rendered identically with web browsers.

Does anybody know if there is a way to tell Servoy’s HTML renderer that we want to use the same font pixel size in every platform?

Or should I just use a different CSS code for different platforms? Will this be compatible with future versions?

Love,
Joonas

Ok, I found out that using the “font-size: 0.9em” property did the trick, now the fonts are quite the same size.

GREAT TIP!

Thanks!