hello,
I use dhtmlxVault 1.6 in IE7.
I place it into a table TD element and the table TD elements is set to display border,When I add a file into the vault. I find the dhtmlxVault display table with border in its work area.
I tried to change the CSS and JS code, but I faild.
would you like to help me with a solution?
Thanks very much!
Fedor
August 26, 2010, 3:28pm
#2
Yes, please provide your code.
Hello,Fedor,
Thank you very much!
My test Code is as follows:
<html>
<head>
<title>Upload Control</title>
<link rel="stylesheet" type="text/css" href="codebase/dhtmlxvault.css" />
<script language="JavaScript" type="text/javascript" src="codebase/dhtmlxvault.js"></script>
<style>
.DataTable
{
border: solid 1px #b1daef;
empty-cells: show;
border-collapse: collapse;
}
.DataTable td
{
padding: 4px;
border: 1px solid #E3EDF5;
overflow: hidden;
font-size: 14px;
font-weight: normal;
}
</style>
<script language="JavaScript" type="text/javascript">
var vault = null;
function doOnLoad() {
vault = new dhtmlXVaultObject();
vault.setImagePath("codebase/imgs/");
vault.setServerHandlers("aspx/UploadHandler.ashx", "aspx/GetInfoHandler.ashx", "aspx/GetIdHandler.ashx");
vault.create("vault1");
}
</script>
</head>
<body onload="doOnLoad()">
<table id="Table1" cellspacing="0" class="DataTable" style="width: 99%; margin: 5px auto;">
<tr >
<td width="20%">
Code
</td>
<td colspan="3" >
<div id="vault1"></div>
</td>
</tr>
</table>
</body>
</html>
Fedor
August 30, 2010, 9:19am
#4
You should instead explicitly specify class for your td -
<html>
<head>
<title>Upload Control</title>
<link rel="stylesheet" type="text/css" href="codebase/dhtmlxvault.css" />
<script language="JavaScript" type="text/javascript" src="codebase/dhtmlxvault.js"></script>
<style>
#Table1
{
border: solid 1px #b1daef;
empty-cells: show;
border-collapse: collapse;
}
.td1
{
padding: 4px;
border: 1px solid #E3EDF5;
overflow: hidden;
font-size: 14px;
font-weight: normal;
}
</style>
<script language="JavaScript" type="text/javascript">
var vault = null;
function doOnLoad() {
vault = new dhtmlXVaultObject();
vault.setImagePath("codebase/imgs/");
vault.setServerHandlers("aspx/UploadHandler.ashx", "aspx/GetInfoHandler.ashx", "aspx/GetIdHandler.ashx");
vault.create("vault1");
}
</script>
</head>
<body onload="doOnLoad()">
<table id="Table1" cellspacing="0" class="DataTable" style="width: 99%; margin: 5px auto;">
<tr >
<td class="td1" width="20%">
Code
</td>
<td class="td1" colspan="3" >
<div id="vault1"></div>
</td>
</tr>
</table>
</body>
</html>