hpmxxx
August 26, 2004, 2:30pm
1
Hello
I play around with the Styles. I provided a Style with the following contents:
form
{
background-color: null;
border: 5px solid #ffff00 ;
}
Now should my forms nevertheless have an border of 2px? My forms have only a thin line. If I enter the following code it works:
form
{
background-color: null;
border-color: #ffff00 ;
border-style: solid;
border-width: 5px;
}
In accordance with the Servoy-help (Servoy CSS style properties) the first variant nevertheless also function? Or I understood somewhat wrongly?
Hans-Peter
WinXP-R2.1rc4-build 307
“border” is indeed not expanded correctly, we will investigate if this can be solved.
For now use:
border-color
border-style
border-width
Has this been fixed in the new beta?
I am trying to make my own styles and the majority of the style properties do not work.
Example:
Current sample style for a field:
field
{
background-color: #e9e8e8;
border-style: inset;
font: 11pt "Verdana";
text-align: left;
margin: 1px 2px 1px 1px;
}
My new style that does not work:
field
{
background-color: #ffffff;
border-style: solid;
border-top-width: 2px;
border-top-color: #999999;
border-bottom-color: #00cccc;
font: 11pt "Verdana";
text-align: right;
margin: 1px 3px 1px 1px;
}
The following properties don’t work in this style.
border-top-width: 2px;
border-top-color: #999999 ;
border-bottom-color: #00cccc ;
maarten
January 30, 2005, 10:07am
4
You’re right . Style properties are not working as they should, right now.
(at least not as described in the manual)
I’ve already asked dev team if they can give this more priority,
but I can’t say if this will make it into next build.
Workload is pretty high at the moment, but we’re doing our best.
Thanks for reporting.
Thanks for the response and keep up the great work