0

How to change combobox back-ground color

asked 2008-09-29 04:50:27 +0800

vasu gravatar image vasu
57

Hi Friends,

I had a combobox with set of options in my zul file. When ever i tried to select an option from the combobox, the option that has mouse cursor on it, is getting back-ground as blue. Is there any why to change the combobox background color.

Regards,
Vasu.

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2008-09-30 00:40:59 +0800

flyworld gravatar image flyworld
155 3

use this

<style>
.z-combobox-pp .z-combo-item-over{
    background:blue;
}
.z-combobox-pp .z-combo-item-seld{
    background:red;
}
</style>

"pp" means popup :)

link publish delete flag offensive edit

answered 2008-09-30 06:23:03 +0800

vasu gravatar image vasu
57

Hi,

I am using .css file to set up styles. even though i have placed the same code which is shown below in the css file
background color still is in blue .


.z-combobox-popup .z-combo-item-over{
background:red;
}
.z-combobox-popup .z-combo-item-seld{
background:red;
}


regards,
Vasu.

link publish delete flag offensive edit

answered 2008-09-30 10:03:54 +0800

flyworld gravatar image flyworld
155 3

sorry, i think i didn't say it clearly,
coz the postfix of class is "pp" , so i just explain its means popup.
you should use ".z-zombobox-pp" and the style will change :)

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-09-29 04:50:27 +0800

Seen: 242 times

Last updated: Sep 30 '08

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