# Table header CSS issue

**URL:** <https://forum.servoy.com/t/table-header-css-issue/17859>\
**Category:** Classic Servoy\
**Created:** [March 17, 2014, 4:05pm UTC](https://forum.servoy.com/t/table-header-css-issue/17859 "2014-03-17T16:05:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pasin](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@pasin](https://forum.servoy.com/u/pasin)\
**Post date:** [March 17, 2014, 4:05pm UTC](https://forum.servoy.com/t/table-header-css-issue/17859/1 "2014-03-17T16:05:56Z")

</div>

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

```auto
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”  
[attachment=0]Catturaincredibileetichetta.PNG[/attachment]

And here the result with no margin ![:(]( "Sad")  
[attachment=1]Cattura due.PNG[/attachment]

 ![Catturaincredibileetichetta.PNG](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/5/5092d6b17987aaa46255a9d5b3f10dac655cfc3d.png)

![Cattura due.PNG](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/f/fece5d667b25d00918e723d1ba7be138792dbd15.png)

---

<div class="post-metadata">

**Author:** ![akaash](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@akaash](https://forum.servoy.com/u/akaash)\
**Post date:** [May 20, 2014, 4:50pm UTC](https://forum.servoy.com/t/table-header-css-issue/17859/2 "2014-05-20T16:50:21Z")

</div>

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.
