The Knight
New member
Ich möchte in einer großen Zelle ein Hintergrundbild einbauen und es zentrieren, zudem darf es sich nicht wiederholen, also nur einmal angezeigt warden.Ich habe diese Script, aber es geht nicht. Was mache ich falsch?
<style>
<!--
table#1 td {
background: url(leiste.gif) non-repeat fixed;
}
-->
</style>
<body>
<table id="1">
<tr>
<td>
gfhgfhgfngfwdnfldnfdnfn
<br><br>lifoifodfnd hgkfgfngfgfgnfglfjgfkngfgkfgfnkfng
</td>
</tr>
</table>
<style>
<!--
table#1 td {
background: url(leiste.gif) non-repeat fixed;
}
-->
</style>
<body>
<table id="1">
<tr>
<td>
gfhgfhgfngfwdnfldnfdnfn
<br><br>lifoifodfnd hgkfgfngfgfgnfglfjgfkngfgkfgfnkfng
</td>
</tr>
</table>