Webstatt.org - Community seit 2006 - 2012 (2024?)

div problem

Avatar user-116
25.03.2006 14:47

also es handelt sich (untem im code) um die td.scroll dort hab ich

<div style="width: 100%; height: 100%; overflow: auto;">

drinnen.

aber wenn ich jetzt so viel inhalt in der td habe das es normal scrollen müsste, wird einfach die td vergrößert.. ohne scrollen.. ich kriegs einfach nicht hin, ich hoffe ihr könnt mir helfen!!

mfg

hier der code:

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

<html>

<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<style type="text/css">
body{
background-color: #333;
padding: 0;
margin: 0;
}
td.navi{
letter-spacing: 0;
}
td.scroll
{
width: 567px;
padding: 0px;
height: ;
}
</style>
<title>Unbenannte Seite</title>
</head>

<body>
<div align="center">
<table width="742" border="0" cellspacing="0" cellpadding="0" height="100%">
<tr height="100%">
<td width="12" height="100%" background="images/main_r1_c2.jpg"></td>
<td valign="top" bgcolor="white" width="721" height="100%">
<div align="center">
<table width="660" border="0" cellspacing="0" cellpadding="0" bgcolor="white" height="98%">
<tr height="164">
<td height="164"><img src="images/main_r1_c4.jpg" alt="" width="700" border="0"></td>
</tr>
<tr height="100%">
<td valign="top" height="100%">
<table width="700" border="0" cellspacing="0" cellpadding="0" height="100%">
<tr height="2">
<td width="567" height="2"></td>
<td width="2" height="2"></td>
<td width="131" height="2"></td>
</tr>
<tr height="15">
<td bgcolor="#003300" width="567" height="15"><img src="images/main_r5_c4.jpg" alt="" border="0"></td>
<td width="2" height="15"></td>
<td rowspan="11" valign="top" width="131">
<table width="131" border="0" cellspacing="0" cellpadding="0" height="100%">
<tr height="15">
<td bgcolor="#999999" width="131" height="15"><img src="images/main_r5_c6.jpg" alt="" height="8" width="131" border="0"></td>
</tr>
<tr height="2">
<td width="131" height="2"></td>
</tr>
<tr height="17">
<td rowspan="4" bgcolor="#cccccc" width="131">
<div align="center">
<a href="(EmptyReference!)"><img src="images/main_r7_c6.jpg" alt="" height="94" width="91" border="0"></a></div>
</td>
</tr>
<tr height="2"></tr>
<tr></tr>
<tr height="64"></tr>
<tr height="1">
<td width="131" height="1"></td>
</tr>
<tr height="136">
<td bgcolor="#cccccc" width="131" height="136" background="images/main_r9_c6.jpg"></td>
</tr>
<tr height="1">
<td width="131" height="1"></td>
</tr>
<tr height="15">
<td bgcolor="#999999" width="131" height="15"></td>
</tr>
<tr height="100%">
<td nowrap bgcolor="#cccccc" width="131" height="100%">ghkjhkhjk</td>
</tr>
</table>
</td>
</tr>
<tr height="2">
<td width="567" height="2"></td>
<td width="2" height="2"></td>
</tr>
<tr height="17">
<td bgcolor="#555555" width="567" height="17">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="navi" width="51">
<div align="center">
<font size="1" color="#e5e5e5" face="Verdana, Arial, Helvetica, sans-serif">
News</font></div>
</td>
<td class="navi" width="78">
<div align="center">
<font size="1" color="#e5e5e5" face="Verdana, Arial, Helvetica, sans-serif">
About me</font></div>
</td>
<td class="navi" width="60">
<div align="center">
<font size="1" color="#e5e5e5" face="Verdana, Arial, Helvetica, sans-serif">
Stories </font></div>
</td>
<td class="navi" width="57">
<div align="center">
<font size="1" color="#e5e5e5" face="Verdana, Arial, Helvetica, sans-serif">
Galerie</font></div>
</td>
<td class="navi" width="109">
<div align="center">
<font size="1" color="#e5e5e5" face="Verdana, Arial, Helvetica, sans-serif">CD -&nbsp;Datenbank</font></div>
</td>
<td class="navi" width="67">
<div align="center">
<font size="1" color="#e5e5e5" face="Verdana, Arial, Helvetica, sans-serif">
Upload</font></div>
</td>
<td class="navi" width="56">
<div align="center">
<font size="1" color="#e5e5e5" face="Verdana, Arial, Helvetica, sans-serif">
Kontakt</font></div>
</td>
<td class="navi" width="88">
<div align="center">
<font size="1" color="#e5e5e5" face="Verdana, Arial, Helvetica, sans-serif">
Impressum</font></div>
</td>
</tr>
</table>
</td>
<td width="2" height="17"></td>
</tr>
<tr height="2">
<td width="567" height="2"></td>
<td width="2" height="2"></td>
</tr>
<tr>
<td rowspan="7" valign="top" bgcolor="#e9e9e9" class="scroll">
<div style="padding: 0px; width: 100%; height: 100%; overflow: auto;">
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
</td>
<td width="2" height="100%"></td>
</tr>
<tr height="64">
<td width="2" height="64"></td>
</tr>
<tr height="1">
<td width="2" height="1"></td>
</tr>
<tr height="136">
<td width="2" height="136"></td>
</tr>
<tr height="1">
<td width="2" height="1"></td>
</tr>
<tr height="15">
<td width="2" height="15"></td>
</tr>
<tr height="154">
<td width="2" height="154"></td>
</tr>
<tr height="2">
<td colspan="3" width="700" height="2"></td>
</tr>
<tr height="15">
<td colspan="3" bgcolor="#999999" width="700" height="15"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</div>
</td>
<td width="9" height="100%" background="images/main_r1_c9.jpg"></td>
</tr>
</table>
</div>
</body>

</html>

acidbuRn aka "Fightingfalcon"
Avatar user-162
25.03.2006 15:40

nur so spontan:
habs jetzt nicht ausprobiert aber mit max-height kannst du sagen wie gross eine Zelle/Box usw. höchstens werden darf... aber glaub IE kennts nid

Perfection is not when there’s nothing to add, but when there’s nothing to take away swisscheek.com/magazine
Avatar user-116
25.03.2006 16:03

im firefox gets nich

acidbuRn aka "Fightingfalcon"