0

Why the right width is not shown by the browser

asked 2009-06-17 21:19:03 +0800

Rashid gravatar image Rashid
81

Hi: Gurus I am designing a very simple ZK page with some vertical and horizontal boxes with a caption, group box and some windows, please see the code below. Here is my problem, when ever I run the code and see the page in a browser, the right width of the components are never rendered properly. E.g I never see the group box and caption covering 900 px in my browser, instead it shows a very small group box and the caption, the same is true for the windows inside the vbox. BTW these components look perfectly ok size wise when I see them in ZK visual editor. Can some one tell me what is goin on here, thanks in advance.


<?page title="new page title" contentType="text/html;charset=UTF-8"?>

<zk>

<vbox width="900 px">
<groupbox width="100 %" mold="3d">
<caption label="Test" width="100"></caption>
</groupbox>

<hbox width="100 %" height="80 px">
<vbox >
<window title="Test" border="normal" width="300 px"></window>
<window title="Test" border="normal" width="300 px"></window>
<window border="normal" title="Test" width="300 px"></window>
</vbox>

<vbox>
<window title="Test" border="normal" width="590 px"></window>
<window title="Test" border="normal" width="590 px"></window>
</vbox>

</hbox>
</vbox>

</zk>

RJ

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-07-06 03:51:26 +0800

robbiecheng gravatar image robbiecheng
1144 2
http://robbiecheng.sys-co...

plis remote the space in your width property.

/robbie

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: 2009-06-17 21:19:03 +0800

Seen: 143 times

Last updated: Jul 06 '09

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