# Servoy form style not working on header part

**URL:** <https://forum.servoy.com/t/servoy-form-style-not-working-on-header-part/8408>\
**Category:** Classic Servoy\
**Created:** [November 19, 2007, 11:09am UTC](https://forum.servoy.com/t/servoy-form-style-not-working-on-header-part/8408 "2007-11-19T11:09:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karel\_Broer](https://avatars.discourse-cdn.com/v4/letter/k/bcef8e/32.png) [@Karel\_Broer](https://forum.servoy.com/u/Karel_Broer)\
**Post date:** [November 19, 2007, 11:09am UTC](https://forum.servoy.com/t/servoy-form-style-not-working-on-header-part/8408/1 "2007-11-19T11:09:30Z")

</div>

I noticed after importing my 3.1.7 solution into 3.5.2, that a Servoy form style is not working on form header parts.  
The form style should set a default background color in the header part, but that is with 3.5.2 not working anymore.

```auto
form
{
	background-color: #DDDDDD; 
	border-style: solid;
	border-width: 0px 0px 0px 0px;
}

```

Servoy Developer  
Version 3.5.2\_01-build 515  
Java version 1.6.0\_02-b06 (Windows XP)

---

<div class="post-metadata">

**Author:** ![Andrei\_Costescu](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Andrei\_Costescu](https://forum.servoy.com/u/Andrei_Costescu)\
**Post date:** [November 21, 2007, 8:34am UTC](https://forum.servoy.com/t/servoy-form-style-not-working-on-header-part/8408/2 "2007-11-21T08:34:28Z")

</div>

The exact same style code works for me with 3.5.2, so there must be something we are doing differently.

Is the background set to default in the header properties?  
Could you create & attach a small sample solution?

---

<div class="post-metadata">

**Author:** ![java\_macchiato](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@java\_macchiato](https://forum.servoy.com/u/java_macchiato)\
**Post date:** [December 11, 2007, 3:10pm UTC](https://forum.servoy.com/t/servoy-form-style-not-working-on-header-part/8408/3 "2007-12-11T15:10:45Z")

</div>

FYI, I’m seeing the same behavior.

I also noticed all the form borders changed, so there must have been some CSS-related changes in this release.

---

<div class="post-metadata">

**Author:** ![Andrei\_Costescu](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Andrei\_Costescu](https://forum.servoy.com/u/Andrei_Costescu)\
**Post date:** [December 11, 2007, 3:21pm UTC](https://forum.servoy.com/t/servoy-form-style-not-working-on-header-part/8408/4 "2007-12-11T15:21:14Z")

</div>

Can you please create & attach a small sample solution for the header - style problem?

Thanks.

---

<div class="post-metadata">

**Author:** ![java\_macchiato](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@java\_macchiato](https://forum.servoy.com/u/java_macchiato)\
**Post date:** [December 11, 2007, 3:46pm UTC](https://forum.servoy.com/t/servoy-form-style-not-working-on-header-part/8408/5 "2007-12-11T15:46:25Z")

</div>

sample and screen shot attached.

 ![servoy.gif](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/9/933ebaf0a2f8de0e9f463aa952637eb4a7bd5371.gif)

[header\_issue.servoy](https://forum.servoy.com/uploads/short-url/zrDnKfxmCZAGG2qR4cvdYT5hF1c.servoy) (11.8 KB)

---

<div class="post-metadata">

**Author:** ![Andrei\_Costescu](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Andrei\_Costescu](https://forum.servoy.com/u/Andrei_Costescu)\
**Post date:** [December 11, 2007, 4:53pm UTC](https://forum.servoy.com/t/servoy-form-style-not-working-on-header-part/8408/6 "2007-12-11T16:53:19Z")

</div>

I tried the sample solution with 3.5.2 and it works fine.

However with 3.5.3 it works wrong (as in the screenshot) - and this is a known issue of 3.5.3 - already reported. In 3.5.3 it’s not the fault of styles - it doesn’t even work if you set the background from the header properties to a color.

What Servoy version are you using?

---

<div class="post-metadata">

**Author:** ![Andrei\_Costescu](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Andrei\_Costescu](https://forum.servoy.com/u/Andrei_Costescu)\
**Post date:** [December 11, 2007, 4:55pm UTC](https://forum.servoy.com/t/servoy-form-style-not-working-on-header-part/8408/7 "2007-12-11T16:55:36Z")

</div>

This is the thread related to the 3.5.3 problem:

> **[Background color in header on Servoy 3.5.3](https://forum.servoy.com/viewtopic.php?t=9606)**
>
> Hi , On Servoy 3.5.3 the background color in header don’t work (become grey) when I show the form or in designer mode it works. Designer mode: http://www.monsterup.com/image.php?url=upload/1197020039.jpg View mode: ...
