# Field bkgrnd and table view label issues in webclient

**URL:** <https://forum.servoy.com/t/field-bkgrnd-and-table-view-label-issues-in-webclient/11270>\
**Category:** Classic Servoy\
**Created:** [October 14, 2009, 10:00am UTC](https://forum.servoy.com/t/field-bkgrnd-and-table-view-label-issues-in-webclient/11270 "2009-10-14T10:00:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dponti](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dponti](https://forum.servoy.com/u/dponti)\
**Post date:** [October 14, 2009, 10:00am UTC](https://forum.servoy.com/t/field-bkgrnd-and-table-view-label-issues-in-webclient/11270/1 "2009-10-14T10:00:32Z")

</div>

I’m new to web client and trying to build some lists to display in the browser - I understand that this requires I use a table view. I’m having some problems with formatting and I need to know what I’m doing wrong or whether I’ve encountered some web client limitations. Here are the issues:

1. Using a label and attaching it to a field using the labelFor property does not display correctly if it’s a multi-line label (eg. the text is html). I can’t figure out how to grow the column header vertically to accommodate the extra line(s). Text rotation doesn’t seem to work either (this is the case with any label regardless of the form type, even though it appears to work in design mode).

2. The column header in the table view takes on a light blue color irrespective of what I assign to the label itself.

3. Fields are always transparent, even if I turn that property off, and therefore field background colors don’t seem to take at all.

4. I can turn field borders on and off, but border styling doesn’t take - just a simple line is produced for a border.

Am I stuck with this or is there a way to get around these limitations? - Servoy 4.1.4

---

<div class="post-metadata">

**Author:** ![LOGIsoft](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@LOGIsoft](https://forum.servoy.com/u/LOGIsoft)\
**Post date:** [February 14, 2010, 12:18pm UTC](https://forum.servoy.com/t/field-bkgrnd-and-table-view-label-issues-in-webclient/11270/2 "2010-02-14T12:18:51Z")

</div>

I also have a need for text labels on a form to keep their rotation in the Web Client. Is there a fix or a hack for this? ![:?:]( "Question")

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [February 15, 2010, 10:39am UTC](https://forum.servoy.com/t/field-bkgrnd-and-table-view-label-issues-in-webclient/11270/3 "2010-02-15T10:39:41Z")

</div>

@dponti: Can you try this in 5.x? If you still have trouble doing what you want there, please be more specific as to the code you already tried

@Logisoft: rotation is not supported unfortunalty. Browsers/html does not offer facilities to do so.

Paul

---

<div class="post-metadata">

**Author:** ![LOGIsoft](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@LOGIsoft](https://forum.servoy.com/u/LOGIsoft)\
**Post date:** [February 15, 2010, 12:51pm UTC](https://forum.servoy.com/t/field-bkgrnd-and-table-view-label-issues-in-webclient/11270/4 "2010-02-15T12:51:58Z")

</div>

I thought you’d say that, Paul, and I should’ve posted the following HTML code in my previous post, which works in Safari, Chrome, Firefox, Patrick Talbot’s BrowserSuite (of course ![:wink:]( "Wink") ) ([http://www.servoy-stuff.net/browser\_suite.php](http://www.servoy-stuff.net/browser_suite.php)), and yes, even IEv6+! My son took his inspiration from [http://snook.ca/archives/html\_and\_css/css-text-rotation:](http://snook.ca/archives/html_and_css/css-text-rotation:)

```auto
<html>
<head>
<title>Test of vertical text</title>
<style type="text/css">
body {
padding-left: 20px;vertical-align:top;}
 .cont { 
			background-color:lightgray; 
			float:left;
			position:relative;
			padding:15px 35px 0px;
			margin-left:10px;
vertical-align:top;
			} 
.vcont {
display: inline;
float:left;
}

	     .vertical { 
			display:block; 
			position:absolute; left:-5px; top:15px;
			-webkit-transform: rotate(-90deg); 
			-moz-transform: rotate(-90deg);		
text-align:center;	
			}
.text {float:right;position:relative;top:-10px}

</style>

</head>
<body>
<div class="cont">
<div class="vcont"><span class="vertical">Vertical</span></div>
<span class="text">Normal
Normal</span>
</div>
</body>
</html>

```

Since it’s possible, can we get this option? Pretty please? ![:roll:]( "Rolling Eyes")

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [February 15, 2010, 1:14pm UTC](https://forum.servoy.com/t/field-bkgrnd-and-table-view-label-issues-in-webclient/11270/5 "2010-02-15T13:14:41Z")

</div>

Nice stuff! Can you create a feature request with this information?

It doesn’t work in all browsers though and not supported in older versions of some of the popular browsers, but lets see what can be done with it.

Paul

---

<div class="post-metadata">

**Author:** ![LOGIsoft](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@LOGIsoft](https://forum.servoy.com/u/LOGIsoft)\
**Post date:** [February 15, 2010, 2:07pm UTC](https://forum.servoy.com/t/field-bkgrnd-and-table-view-label-issues-in-webclient/11270/6 "2010-02-15T14:07:04Z")

</div>

Filed Case # 274392.

Thanks Paul,

Ben
