I think you mean td {padding:25px}
Quote:
|
i've tried doing it as divs, spans, nothing seems to work.
|
Have you got example code as I've just put margins on a p tag inside a table with no problems.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
p {background:blue;margin:0 10px;}
table {border-collapse:collapse;border:1px solid #000}
td {border:1px solid #000}
</style>
</head>
<body>
<table width="50%" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td><p>Hello</p></td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
Paul