Mozilla akzeptiert kein table-layout!
Flo
- css
Hi, wie kann ich in Mozilla einen ähnlichen Effekt erreichen wie in IE mit table-layout:fixed, also dass die Zellengröße nicht vom Inhalt abhängig ist?
Hallo erstmal!
Bitte hier nachsehen: http://de.selfhtml.org/html/tabellen/aufbau.htm#vordefinieren
Gruß aus Berlin!
eddi
Dankeschön! Mir geht es allerdings weniger um die Spaltenbreite als um die Zeilenhöhe! Wie geht das nun wieder?
Guten Morgen,
das sollte auch kein Problem sein:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>test</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
html,body,table {margin:0;padding:0;height:100%;width:100%}
</style>
</head>
<body>
<table cellspacing="0">
<tr> <td style="background:red"> </td></tr>
<tr> <td style="height:100px">
<div style="height:100px;overflow:scroll">
Text<br>Text<br>Text<br>Text<br>Text<br>Text<br>Text<br>Text<br>Text<br>Text<br>
</div>
</td></tr>
<tr> <td style="background:red"> </td></tr>
</table>
</body>
</html>
Gruß aus Berlin!
eddi