Table header CSS issue

Questions and answers for designing and implementing forms in Servoy

Table header CSS issue

Postby pasin » Mon Mar 17, 2014 6:05 pm

Hi, I'm trying to set some features of my form (table view).
My table header is automatically generated from Servoy but I need special features that I have declared in my style.
So I created a label, to which I gave my style, and using the property "labelFor" I assigned the label of the field.
The problem is:
Some features of my CSS are held to be good (Color, Font), others are ignored, such as the margins (that interests me a lot) and the height of the label.
How can I do to keep margins were also declared in my style?

Thanks, Alberto

Other info:

Below is my CSS code
Code: Select all
field.vt_l / * Left Field Table * /
{
color: # 333333;
text-align: left;
font: normal 11pt Tahoma;
background-color: transparent;
border-width: 1px 1px 0px 0px;
border-style: solid;
border-color: # 899d63;
margin: 5px 1px 1px 5px;
}


Here the Label with the propriety "labelFor"
Catturaincredibileetichetta.PNG
Catturaincredibileetichetta.PNG (10.13 KiB) Viewed 2443 times


And here the result with no margin :(
Cattura due.PNG
Cattura due.PNG (2.28 KiB) Viewed 2446 times
pasin
 
Posts: 9
Joined: Thu Feb 20, 2014 11:38 am
Location: Milan

Re: Table header CSS issue

Postby akaash » Tue May 20, 2014 6:50 pm

My guess is that in the design view you're overwriting the css properties. Navigate to the design-time properties in design view and right click on them to set them back to default.
akaash
 
Posts: 30
Joined: Fri Jan 25, 2013 4:58 pm
Location: Montréal


Return to Forms

Who is online

Users browsing this forum: No registered users and 10 guests

cron