In smartclient it shows a scrollbar:
[attachment=1]Screen shot 2011-04-06 at 09.24.09.png[/attachment]
And in the webclient is just works as it should be!
[attachment=0]Screen shot 2011-04-06 at 09.24.18.png[/attachment]
To fix it in the smartclient i have to reduce the width (in the DIV) to 195px and the height to 14px, this is very strange, isnt it? Or just do a dirty work-around, and disable the scrollbars!
and if you configure the html area to never have scrollbars?
Or are the scrollbars really inside the html? Then you must make sure that the style you use in html sets the scrollbar policy
If I disable the scrollbars on the element its gone, however the problem still is, that I CANNOT use the 260px width in HTML without a scrollbar in the element which is not a expected behavior !!! As you can see at the screenshots in my first post. This only happens in the smartclient!
It seems the problem is not the width, but the height.
When I use a HTML_AREA field with an empty border (having a border will reduce the width/height as well) then the 200px width fits perfectly inside the 200px wide field. But I have to reduce the DIV height to 16px to make it fit inside the 20px high field. So it looses 4 pixels somewhere.
Adding a border will require you to tweak with the DIV width/height as well in ways that are unexpected (reduce 1 or 3 pixels for instance…instead of the expected 2 or 4).