Hi
I am writing the following code
<table border = "1" style = "border-color : #2E37FE; border-width : medium;" cellspacing="0" cellpadding="0">
<tr>
<td>
<div id = "MainWindow">
<table width = "100%" border = "1" style = "border-color:Green;">
<tr style="height : 10%;">
<td>
<div id = "TitleWindow">
</div>
</td></tr>
<tr style="height : 90%;">
<td>
<div>
</div>
</td></tr>
</table>
</div>
</td>
</tr>
</table>
in which I have defined table inside the div tag. But I am not able to see the table that is inside the div.
I have defined the silverlight object which reference the div tag "MainWindow".
Silverlight.createObjectEx(
{
// NAME OF THE SOURCE XAML FILE
source : xaml\PaintBurshMain.xaml,
// NAME OF THE CONTAINER WHERE CONTENTS WILL BE PLACED
parentElement : document.getElementById('MainWindow'),
// PROPERTIES OF THE CONTAINER TAG
properties :
{
width : 1000,
height : 1000,
background : '#FFFFFF',
isWindowless :
'true',framerate : '24',
version :
'0.90.0',
border :
'3'
},
// EVENTS ON THE CONTAINER
events :
{
onError : null,
onLoad :
null
}
}
);
Why the table inside the div is not showing
Regards
Karan