I’m using Servoy beta 3.03 on Windows XP sp2.
border-style none does not work. Other border styles do work. But none looks like inset. This makes it impossible to make the kinds of forms that I need to make.
Here is a style that does not work:
field.jack
{
background-color: #ccccff;
border-style: none;
font: 11pt “Verdana”;
text-align: left;
margin: 0px 0px 0px 0px;
}
Terry
I have discovered that I can change the field’s borders by changing its border-type property.
What then is the use of the Style? Which takes precedence? what are the rules for correctly using either a CSS style on a field or its properties in order to change how it appears?
Terry
If you set the property to default, then the CSS is in control.
Paul
Afraid that just aint so.
I started with all properties set to DEFAULT. Used a CSS subclass of field. The only properties that worked were text alignment and font.
Borders and background did not work from the CSS class. Both were set to default on the field.
Terry
border-width: 0px 0px 0px 0px;
border-style: solid;
Those two properties in your style will set it to no border.