0

how to change tabbox color

asked 2008-12-12 10:44:31 +0800

ibsolution gravatar image ibsolution
468 1 1 6

updated 2008-12-12 10:47:32 +0800

hai,

i am using ZK 3.5.2 now.

i would like to change color tabbox when user selected it and hover it, i see your zkstyle guide but i still can not understand that.

i try this style but nothing happen
.z-tab .z-tab-seld:hover{color:red;}


Regards,

Andy Susanto

delete flag offensive retag edit

5 Replies

Sort by ยป oldest newest

answered 2008-12-12 10:49:16 +0800

Fuckup gravatar image Fuckup
42

updated 2008-12-12 10:49:45 +0800

i think the new zk style guide is much better than before,
which part you cant udst ? could you please tell me ?
maybe i can help you.

link publish delete flag offensive edit

answered 2008-12-12 14:20:05 +0800

ibsolution gravatar image ibsolution
468 1 1 6

hai,

i would like to change the color for tabbox. When user select it and over it

TIA,

Andy Susanto

link publish delete flag offensive edit

answered 2008-12-13 15:08:04 +0800

ibsolution gravatar image ibsolution
468 1 1 6

hai,

after i try i just got change font-size when user hover that tab.

i still need to change a color when user click and hover that tab

Regards,

Andy Susanto

link publish delete flag offensive edit

answered 2008-12-14 01:46:18 +0800

ibsolution gravatar image ibsolution
468 1 1 6

hai,

.z-tab .z-tab-text{font:40px Arial, Verdana, sans-serif;color:#41FFA3;}/*default color*/
.z-tab .z-tab-text:hover{font:40px Arial, Verdana, sans-serif; }

this css can change font color when hover and default color. but i still need one color to change.

that is when user select a tab. Can i change font-color when user select a tab ?


TIA,

Andy Susanto

link publish delete flag offensive edit

answered 2008-12-14 05:18:14 +0800

RyanWu gravatar image RyanWu
533 2
about.me/flyworld

you can read the chapter 1 of style guide,
it will tell you the name pattern of ZK's css :)

.z-tab-seld .z-tab-text

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-12-12 10:44:31 +0800

Seen: 609 times

Last updated: Dec 14 '08

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