I am trying to put a spacer between say two tables, a 1px x 1px image and using height of img tag to adjust.
I Firefox it is OK but in IE extra space appears. I have tried setting margins and padding to 0.
See sample code where the extra space can be seen between the elements.
------------------------------------------
the only shopping site you need to bookmark
I Firefox it is OK but in IE extra space appears. I have tried setting margins and padding to 0.
See sample code where the extra space can be seen between the elements.
Code:
<html><head>
<style>
img {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px}
table {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px}
body {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px}
</style>
</head>
<body>
<table cellpadding = 0 cellspacing = 0 border = 1><tr><td>dfgfg</td></tr></table>
<img src="1px.jpg" height=1 border = 1>
<table cellpadding = 0 cellspacing = 0 border = 1><tr><td>dfgfg</td></tr></table>
</body></html>
------------------------------------------
the only shopping site you need to bookmark