Posted by Rakesh Thakor on 06/05/07 06:45
Hi all,
I want to scroll a dynamic table inside div. My code is as below,
**********************************************************************************************************
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
table {
border:#FF0000;
table-layout:auto;
width:auto;
}
div {
width:#px;
overflow:scroll;
}
-->
</style></head>
<body>
<div>
<table border="4" cellpadding="0" cellspacing="0">
<tr>
<td width="1900px">asdfa</td>
<td width="1900px">&nsafdfdfsdfdfdfdfdfsdasdasdsadsp;</td>
<td width="1900px"> </td>
<td width="1900px"> </td>
</tr>
</table>
</div>
</body>
</html>
****************************************************************************************************************
Can anyone guide me that where is the problem?
Regards,
Rakesh
Navigation:
[Reply to this message]
|