Css und Tabellen
#2
Hi,

probier mal das aus... Den CSS Code kannste auch extern einbinden.

Code:
<style type="text/css">
<!--
.weit {
font-family: Verdana, Arial;
font-size: 12px;
color: #000000;
padding: 20px 40px 20px 40px;
background-color: #cc9933;
}

.schmal {
font-family: Verdana, Arial;
font-size: 12px;
color: #ffffff;
padding: 2px 4px 2px 4px;
background-color: #990033;
}
-->
</style>
</head>
<body>

<table cellspacing="0" cellpadding="1" border="0">
<tr>
    <td class="weit">Testtext hier mit 20, 40, 20, 40 padding</td>
</tr>
<tr>
    <td class="schmal">Testtext hier mit 2, 4, 2, 4 padding</td>
</tr>
</table>

Demo: http://www.inspire-world.de/boarduploads/padding.html

Cu Helmut
Zitieren



Nachrichten in diesem Thema
Css und Tabellen - von angisun - 18.07.2004, 17:17
Css und Tabellen - von Helmut - 18.07.2004, 18:49

Möglicherweise verwandte Themen...
Thema Verfasser Antworten Ansichten Letzter Beitrag
  CSS für verschiedene tabellen Anfänger 2 2.083 08.01.2005, 20:15
Letzter Beitrag: Anfänger
  Tabellen-Design per <div> sieht nur im IE ordentlich a flowitch 7 4.007 29.12.2003, 17:11
Letzter Beitrag: Helmut