Dynamically add css file to page

asked 2014-02-10 10:40:38 +0800

AFM gravatar image AFM
5 1

updated 2014-02-10 10:41:22 +0800

I have a page (zul) with zk and native elements. Is it possible to dynamically change css files in java code? (To make them depend on the browser window size.)

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted

answered 2015-03-08 20:12:22 +0800

Darksu gravatar image Darksu
1991 1 4

Hello AFM,

Please refer to the following fiddle in order to accomplish your task:


Best Regards,


link publish delete flag offensive edit

answered 2015-03-10 13:50:58 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16

updated 2015-03-10 13:51:22 +0800

Deleted. It's a spamer.

link publish delete flag offensive edit
Your answer
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

1 follower



Asked: 2014-02-10 10:40:38 +0800

Seen: 64 times

Last updated: Mar 10 '15

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