0

ZK3.5 CSS problem

asked 2008-09-19 09:07:33 +0800

chunkaiw gravatar image chunkaiw
9

I found CSS behavior is different between 3.5 and 3.0.7.

for example

<style>
div.listbox{
border:10px red
}
div.listbox-head tr{
background:red;
}

</style>

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2008-09-19 09:18:06 +0800

flyworld gravatar image flyworld
155 3

because the css class are changed in ZK 3.5.x
here is the results for your example code

<style> 
div.z-listbox{ 
    border:10px solid red ;
} 
.z-listbox-header tr{ 
    background-image:none;
    background-color:red; 
} 
</style>

link publish delete flag offensive edit

answered 2008-09-19 09:26:13 +0800

chunkaiw gravatar image chunkaiw
9

How do I know the new css class in ZK3.5.X?

link publish delete flag offensive edit

answered 2008-09-19 09:29:16 +0800

flyworld gravatar image flyworld
155 3

updated 2008-09-19 09:58:03 +0800

Because zk 3.5.0 have NO style guide now ...
maybe you can use firefox add-on "firebug" to inspect the specific elements of page. (I do this)
It will show the CSS class clearly.
here is the download link
firefox
http://moztw.org
firebug
https://addons.mozilla.org/firefox/addon/1843
if you prefer to use IE , you can download the IE developer toolbar , it has similar features
http://www.microsoft.com/downloadS/details.aspx?familyid=E59C3964-672D-4511-BB3E-2D5E1DB91038&displaylang=en

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-19 09:07:33 +0800

Seen: 205 times

Last updated: Sep 19 '08

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