# Alignment of header in portals

**URL:** <https://forum.servoy.com/t/alignment-of-header-in-portals/16529>\
**Category:** Classic Servoy\
**Created:** [September 21, 2012, 7:46am UTC](https://forum.servoy.com/t/alignment-of-header-in-portals/16529 "2012-09-21T07:46:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xtsr](https://avatars.discourse-cdn.com/v4/letter/x/c67d28/32.png) [@xtsr](https://forum.servoy.com/u/xtsr)\
**Post date:** [September 21, 2012, 7:46am UTC](https://forum.servoy.com/t/alignment-of-header-in-portals/16529/1 "2012-09-21T07:46:27Z")

</div>

Hi

According to the list of behavior changes in Servoy 6.0

> Default alignment for text in TableView & Portal headers brought inline (Centered)

the headers in a portal are now centered. How can this be changed, e.g. in the CSS? It looks really odd on an invoice if the field for a description is left aligned, but the header is centered… The portal is created dynamically using the solutionModel.

Thanks  
Reto

---

<div class="post-metadata">

**Author:** ![david](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@david](https://forum.servoy.com/u/david)\
**Post date:** [September 24, 2012, 3:06pm UTC](https://forum.servoy.com/t/alignment-of-header-in-portals/16529/2 "2012-09-24T15:06:35Z")

</div>

You can style headers now with css:

[http://wiki.servoy.com/display/public/D … is+release](http://wiki.servoy.com/display/public/DOCS/New+in+this+release)

> TableView & Portal header styling through CSS: Headers of TableViews and Portals can now be targeted from StyleSheets using the grid\_header selector. Supported CSS properties are: border-_, color, background-color and font-_
