Jayhawk
11-04-2005, 04:22 PM
In the following, the first one has no space between the word "Test" and the image, the second has a space when viewed in FF, and a space filled by an underscore when viewed in IE.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<head>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div style='width:100%; text-align:center'>
<div style="width:768px">
Test<a href="test.html"><img src="menu.gif" border=0></a><br>
Test<a href="test.html">
<img src="menu.gif" style="display:inline; border:0;"></a>
</div>
</body>
</html>
What is causing that, and how does one get rid of it? Is it related to the text, the image, or the <a> element?
I can more or less live with the space, but definitely not the underscore.
oops: never mind: I just saw it:
Test<a href="test.html"><img src="menu.gif" style="display:inline; border:0;"></a>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<head>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div style='width:100%; text-align:center'>
<div style="width:768px">
Test<a href="test.html"><img src="menu.gif" border=0></a><br>
Test<a href="test.html">
<img src="menu.gif" style="display:inline; border:0;"></a>
</div>
</body>
</html>
What is causing that, and how does one get rid of it? Is it related to the text, the image, or the <a> element?
I can more or less live with the space, but definitely not the underscore.
oops: never mind: I just saw it:
Test<a href="test.html"><img src="menu.gif" style="display:inline; border:0;"></a>