0

How to style the header from Grid

asked 2012-04-05 11:06:18 +0800

andij62 gravatar image andij62
315 1 7

Hi all,

i am using zk6 and will style the header from a grid. I will change the color, the font-size and the height from the Header. I use the sapphire-theme.
With following code all changes are made but the Text are vertical not in the middle of the Header. The Text is on the lower line.

div.z-column-cnt, th.z-column {
    color: white;
    background-color: #333333;
    height: 10px;
    font-family: arial,sans-serif;
    font-size: 11px;
    font-weight: bold;
}

Can anyone give me a Tip?

Regards Andi

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2012-04-06 00:48:25 +0800

vincentjian gravatar image vincentjian
2245 6

Hi Andi,

You can try "vertical-align: middle;" or adjust padding by "padding-top" and "padding-bottom".

link publish delete flag offensive edit

answered 2012-04-07 17:35:05 +0800

andij62 gravatar image andij62
315 1 7

yes it works. thx to you!

Andi

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-04-05 11:06:18 +0800

Seen: 150 times

Last updated: Apr 07 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More