but this gives results where the left and top borders are not the same as the right and bottom borders - they look bigger! This seems to be the case for larger sizes also - the left and top borders do not have the same size as the right and bottom even when set to the same values
However, if I use
border-width: 1px 1px 1px 1px;
they all look the same
I can only get them all to look the same at larger sizes if I use for example
border-width: 2px 3px 3px 2px;
… i.e. set the right and bottom to 1px larger, though the above code sets them all visually to 3px and what I’m really after is all borders set to 2px!
This seems to affect all LAFs. I can of course override the CSS and set the border property directly but I want to be able to use the CSS to set borders if possible.
Servoy Developer
Version 3.5.1-build 514
Java version 1.5.0_07-87 (Mac OS X)
there are a lot of issues with CSS support in Servoy, caused by Sun’s outdated html-renderer. Have you searched the forum to see that your problem isn’t a variation of something reported earlier…
I did have a look before posting but didn’t turn up anything to do with problems in setting border width properties using CSS - if its there, I missed it!
David’s problems are not HTML related. This is the CSS that Servoy interprets itself to set the properties of form elements.
So this is something Servoy has total control over.
I do think that Robert is right - it is to do with Servoy interpretation of the CSS. The problem I outlined at first soed not seem to be an issue in the web client, which correctly sets the borders according to the settings in the CSS. Its in the smart client that there are problems.