0

how to increse the font size of a TAB label

asked 2008-01-31 12:08:46 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4752658

By: pooja1

Hi can anyone please help me with the issue of increasing the TAB label font size enlargement. i want to increase the font size and not the height and the width.
i have also used a class but ity's not picking from that class it's picking some other default class.

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2008-01-31 13:15:06 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4752768

By: madruga0315

Hey,

for increasing just the tab label, you need to override the respective css, one for the tab, and other for the selected tab.
In your zul page which has the tab, put the following:

<style>
.tab, .tab a, a.tab
{
font-size: 20px;
}

.tabsel, .tabsel a, a.tabsel
{
font-size: 20px;
}
</style>

then define the font-size as your wanted size.

Madruga


link publish delete flag offensive edit

answered 2008-09-29 08:13:56 +0800

Emanuele gravatar image Emanuele
117 1

Hi to everyone!

How can I perform the same operation with ZK 3.5, where styles have been changed?

Thank you!

link publish delete flag offensive edit

answered 2008-09-30 01:35:24 +0800

flyworld gravatar image flyworld
155 3

<style>
.z-tab .z-tabbox-text {
    font-size:15px;
}
.z-tab-seld .z-tabbox-text {
    font-size:15px;
}
</style>

first is normal text, second is tab selected

link publish delete flag offensive edit

answered 2008-09-30 14:01:47 +0800

Emanuele gravatar image Emanuele
117 1

very very useful! thanks!

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: 2008-01-31 12:08:46 +0800

Seen: 168 times

Last updated: Sep 30 '08

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