Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Space between images in a table


birdbrain - 8:52 am on Dec 19, 2011 (gmt 0)


Hi there spongenika,

try it like this...


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="english">
<meta http-equiv="Content-Style-Type" content="text/css">

<title></title>

<style type="text/css">
table {
border-collapse:collapse;
}
table td, table th {
padding:0;
}
img {
display:block;
}
</style>

</head>
<body>

<table class="tbl" border="0">
<tr>
<td><img src="images/logov1.gif" alt="" width="341" height="20"></td>
<td></td>
</tr>
<tr>
<td><img src="images/logov2.gif" alt="" width="341" height="100"></td>
<td></td>
</tr>
</table>

</body>
</html>


Further reading:-



Also note that the table element should no be used for layout purposes.

Further reading:-



birdbrain


Thread source:: http://www.webmasterworld.com/css/4399290.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com