Font Size Rendering Messed Up in 6.0.1 (?)

[attachment=0]Capture.JPG[/attachment]
I’m going a little crazy at the moment (ok, ok - so I’m a little crazy ALL the time) - but I’m not having any luck with changing the size of a HTML AREA’s text.

I’m using Servoy styles:

label, button, field, combobox, check, radio {
font-family: “Trebuchet MS”, Helvetica, sans-serif;
font-size: 11pt;
}

field.nobordersmaller {
border: 0px solid;
font-size: 9pt;
}

So far, so good. It works fine in the Smart Client, but doesn’t change in the Web Client (image attached).

I’ve also tried to modify the HTML in the global variable that is displaying by using straight CSS (which has worked in previous versions) - but still no luck.

Can anyone point me in the right direction? (I need this for a system that is going into beta early next week!!)

If I try a small example, seems to work well. What happens if you put some simple text in there ?

I put this text in - same result:

<html><head></head><body>
<table cellpadding="2" cellspacing="0" width="100%" border="0">
<td><b>TEST</b></td><td>Some simple text</td></tr>
</table></body></html>

This is in a global field - with the styleclass set to “nobordersmaller” (as described above)

EDIT: It’s the same regardless of the browser used. I’m testing on IE9 and Firefox 7 - on Windows 7, SP1 - Java 1.6.0_27

Something interesting - if I make it a TEXTAREA - the text is displayed in the correct size.

If I put:

style="font-size:10px;"

Example:

<td valign="top" width="75%" style="font-size:10px;">

As part of the - then I can get it to work - but the STYLE should work - right?

i guess we need a small sample to look at the generated dom to see where the styles are and why some are overwriting others or not being applied.

bobcusick:
If I put:

style="font-size:10px;"

Example:

<td valign="top" width="75%" style="font-size:10px;">

As part of the - then I can get it to work - but the STYLE should work - right?

Problem is the default style (of Servoy) will be applied to td element, and not field style. Please open a case for this.

Created case SVY-1015