0

Zul page does notappear in mozilla

asked 2010-11-12 21:05:34 +0800

ovazquez gravatar image ovazquez
9

hi verybody
i work with my ZK project, i write a template with borderlayout, and a sub-template, and finally my real page. It orks fine in iexplorer, but,wwhen i try to view thepage in mozilla , it doesn't appear.

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2010-11-13 04:33:45 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

Please, show us the code.

link publish delete flag offensive edit

answered 2011-02-22 11:27:20 +0800

ovazquez gravatar image ovazquez
9

hi everybody

i wrote in another thread the same problem, i found the reason in my code, i use a <div> to center the application into the browser, when i use these <div> mi page appears blank, but when i remove my page appear correctly, but oriented to left.

What is the correct way to center application. i have a template like this:

**********************************************************************************************************************************
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c" ?>
<?page title="${c:l('app.title')}" contentType="text/html;charset=UTF-8"?>

<zk>
<style>
.z-window-embedded-tl,.z-window-embedded-tr,.z-window-embedded-hl,.z-window-embedded-hr, .z-window-embedded-hm{
background-image:none;
background-color:#003399;
text-size: 1.0em;
}

.z-window-embedded-hl,.z-window-embedded-hr, .z-window-embedded-hm{
}

.z-window-embedded-header {
padding-top: 15px;
color: white;
font-size: 16px;
text-align: center;
text-vertical-align: middle;
height: 30px;

}

.z-window-highlighted-header {
font-weight: bold;
}

.z-window-modal-header {
font-weight: bold;
}
</style>
<div align="center"> <!-- THIS IS THE DIV THAT CAUSE PAGE BLANK -->
<borderlayout width="1024px">
<north
style="background-image:url(${c:encodeURL('/images/fondo_header2.jpg')});">
<include src="/content/headerLogin.zul" />
</north>
<west>
</west>

<center id="workareaContent" self="@{insert(workarea)}"
autoscroll="true" >
</center>

<east>
</east>
<south height="15px" style="background-color: #486B83;">
<include src="/content/footer.zul" />
</south>
</borderlayout>
</div>
</zk>

**********************************************************************************************************************************

please, some one can helpme.
best regards

link publish delete flag offensive edit

answered 2011-02-22 14:34:18 +0800

twiegand gravatar image twiegand
1807 3

updated 2011-02-22 14:34:26 +0800

Ovazquez,

Since you are defining a specific width for your <borderlayout>, you need to do the same for the height. Change your <borderlayout> to look something like this:

<borderlayout height="750px" width="1024px">

That should make it display properly.

Regards,

Todd

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: 2010-11-12 21:05:34 +0800

Seen: 663 times

Last updated: Feb 22 '11

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