You are here: Problem in Table Width « HTML « IT news, forums, messages
Problem in Table Width

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">&nbsp;</td>
<td width="1900px">&nbsp;</td>
</tr>
</table>
</div>
</body>
</html>
****************************************************************************************************************
Can anyone guide me that where is the problem?

Regards,
Rakesh

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация