-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
my zk version is 6.5.1
I want to put a background image on the page, and then put inside a div or table, but I found that no matter how stressed this transparent div no way will remain white and then cover the Figure, Is there any way to change it?
<zk>
<zscript>
<style> .pic { background-image : url(img/MIO.png); } </style>
</window>
</zk>
2 | added code tag |
my zk version is 6.5.1
I want to put a background image on the page, and then put inside a div or table, but I found that no matter how stressed this transparent div no way will remain white and then cover the Figure, Is there any way to change it?
<zk>
<zscript>
<zk>
<zscript><![CDATA[
//@IMPORT
import com.dtc.mio.view.zk.viewmodel.ZkLoginViewModel;
]]></zscript>
<style>
.pic {
background-image : url(img/MIO.png);
}
</window>
</zk>
3 | this is not a discussion |
my zk version is 6.5.1
I want to put a background image on the page, and then put inside a div or table, but I found that no matter how stressed this transparent div no way will remain white and then cover the Figure, Is there any way to change it?
<zk>
<zscript><![CDATA[
//@IMPORT
import com.dtc.mio.view.zk.viewmodel.ZkLoginViewModel;
]]></zscript>
<style>
.pic {
background-image : url(img/MIO.png);
}
</style>
<div height="100px"/>
<div align="center">
<window id="winLogin" border="none" apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('ZkLoginViewModel')" hflex="1" vflex="1"
focus="true" sclass="pic">
<box>
<div height="220px"/>
<hbox>
....
</hbox>
</box>
<div align="left" height="20px">
</div>
</window>
</zk>