This situation can be simplified for better understanding.
What I am observing is a discrepancy in appearance between Chrome 7.0 and Firefox 3.6.12. Interestingly, IE 9 beta seems to resemble Chrome.
My goal is to apply padding to the TD element and have it display with consistent height across all browsers. Currently, with a top padding of 10px, the cells in Chrome appear taller than those in Firefox.
Even after implementing Eric's reset CSS, the issue remains unresolved. Do you have any insights on why these browsers are rendering the content differently?
You can view an example of the issue here - http:// yfrog. com/5zqa7p
And here is the code snippet:
<!DOCTYPE html>
<head>
<title>padding test</title>
<meta charset=utf-8>
<style>
td { width: 100px; height:100px; background: green; padding: 10px 0 0 0; }
</style>
</head>
<body>
<table>
<tr><td>TEST</td></tr>
<tr><td>TEST</td></tr>
</table>
</body>