Autor Zpráva
.net
Profil *
Potreboval bych tento kod prevest do divu, a to tak ze stranka bude furt width = 100% a height = 100%
Zkusel sem uz nekolik reseni ale nejak se k tomu nemohu dopracovat. Jedna se o 2 sloupcovy layout s hlavickou a patickou, kde jen jeden sloupec se bude dat moci posunovat. Tento priklad je odzkousen v IE6 v ostatnich to nejspis bude delat problem. Mohl by mi nekdo poradit. Diky

<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
<meta http-equiv="Content-Language" content="cs">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<title>table-to-div</title>
</head>

<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" scroll="no">

<table border="0" width="100%" id="table1" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td colspan="2" height="20" bgcolor="#666666" align="center" style="padding: 5px">
<font color="#FFFFFF">HEAD</font></td>
</tr>
<tr>
<td width="150" bgcolor="#D4D0C8" align="center" style="padding: 5px" valign="top">LEFT</td>
<td bgcolor="#C0C0C0" align="center" style="padding: 5px;" valign="top">
<div style="overflow-y: auto; overflow: -moz-scrollbars-vertical; width:100%; height:100%">RIGHT<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><b r/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><b r/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><b r/><br/><br/><br/></div></td>
</tr>
<tr>
<td colspan="2" height="20" bgcolor="#666666" align="center" style="padding: 5px">
<font color="#FFFFFF">FOOTER</font></td>
</tr>
</table>

</body>

</html>

nebo
http://www.frajer.net/table-to-div.htm
Toto téma je uzamčeno. Odpověď nelze zaslat.

0