...

View Full Version : No padding in ie?



Ranger56
08-25-2005, 04:41 AM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>

<style type="text/css">
<!--
body{
background:#889974;
}

h1{
font-family:verdana, arial, sans-serif;
}

table{
background:#559a2e;
font-family:verdana, arial, sans-serif;
color:#fff;
font-size:12px;
border:1px solid #000;
padding:3px;
}

td{
width:75px;
height:16px;
text-align:center;
border-left:1px solid black;
border-right:0;
border-top:1px solid #000;
border-bottom:1px solid #000;
}

td.right{
border-right:1px solid #000;
}

td.date{
border-bottom:1px solid #000;
border-left:1px solid #000;
border-top:0;
border-right:0;
font-size:12px;
font-variant:small-caps;
}

th{
border-left:1px solid #000;
border-top:1px solid #000;
border-right:0;
border-bottom:0;
}

th.none{
border:0;
}

th.noleft{
border-left:0;
border-top:0;
}

th.right{
border-right:1px solid #000;
}

tr:hover{
background:#00527b;
}

tr{
margin:3px;
}
-->
</style>

<meta http-equiv="Content-type" content="text/html; charset=ISO-8859-1">
<title>Untitled</title>
</head>
<body>
<h1>MloG.txt</h1>

<table cellspacing="0">
<tr>
<th class="none"></th>
<th class="noleft">Current</th>
<th>Additions</th>
<th>C+A</th>
<th class="right">Need</th>
</tr>

<tr>
<td class="date">
08.24.2005
</td>
<td>
16
</td>
<td>
1
</td>
<td>
17
</td>
<td class="right">
283
</td>
</tr>

</table>


</body>
</html>


Why does the padding not work for the table?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum