greathope123
Programmer
Hi,
Following code is working fine but one thing I don't understand:
in the cell, there is an extra space under a .gif.
Is this by design?
If I remove <!DOCTYPE html>, the space will disappear, but can I remain <!DOCTYPE html> and remove the space?
<!DOCTYPE html>
<html>
<head>
<style>
table.frame {border: 2px solid #778899; border-collapse:collapse;}
table.frame td {padding: 0;}
</style>
</head>
<body>
<table class="frame">
<tr><td><img src="myGif.gif"></td></tr>
</table>
</body>
</html>
Following code is working fine but one thing I don't understand:
in the cell, there is an extra space under a .gif.
Is this by design?
If I remove <!DOCTYPE html>, the space will disappear, but can I remain <!DOCTYPE html> and remove the space?
<!DOCTYPE html>
<html>
<head>
<style>
table.frame {border: 2px solid #778899; border-collapse:collapse;}
table.frame td {padding: 0;}
</style>
</head>
<body>
<table class="frame">
<tr><td><img src="myGif.gif"></td></tr>
</table>
</body>
</html>