D
dakota7
I'm trying to have a blank image on a page - not important why - set off
by a colored border.
This html fragment:
++++++++++++
<span style="border-style: solid; border-color: purple">
<img alt="blank" src="blank.gif" height="327" width="288">
</span>
++++++++++++
works perfectly for what I want to do - at least in Internet Explorer.
In Netscape 7 though, what I get is a border that's as wide as
specified, but not nearly high enough. I'm guessing it's maybe ten
pixels high. If I add a mouseover title attribute to the img tag, I can
see that Netscape has the image space set up correctly - just not the
border.
In this example, blank.gif is a 1x1 tranparent gif. But whether you use
that, have no file blank.gif, or use an existing jpg file with
nontrivial dimensions, same thing always happens in Netscape: the image
displays right, but the border height isn't correct.
The html looks okay to me. I know lots of workarounds to get the "look"
I want - but what I REALLY want to know is why the above only works in
Netscape.
by a colored border.
This html fragment:
++++++++++++
<span style="border-style: solid; border-color: purple">
<img alt="blank" src="blank.gif" height="327" width="288">
</span>
++++++++++++
works perfectly for what I want to do - at least in Internet Explorer.
In Netscape 7 though, what I get is a border that's as wide as
specified, but not nearly high enough. I'm guessing it's maybe ten
pixels high. If I add a mouseover title attribute to the img tag, I can
see that Netscape has the image space set up correctly - just not the
border.
In this example, blank.gif is a 1x1 tranparent gif. But whether you use
that, have no file blank.gif, or use an existing jpg file with
nontrivial dimensions, same thing always happens in Netscape: the image
displays right, but the border height isn't correct.
The html looks okay to me. I know lots of workarounds to get the "look"
I want - but what I REALLY want to know is why the above only works in
Netscape.