"Malodushn�kh" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Remember, IMG is, by default, an inline element. Mozilla treats it as
> such, and generates an anonymous block box around it as high as one
> line. The IMG still renders as 1px by 1px, though.
>
> Use CSS to set display: block of your IMG.

Yep. That worked. Thanks. It was really annoying to see this thing work in
IE and break in Mozilla. I understand the viewpoint of the developers but I
am not sure
if <td><img></td> and <td> <img> </td> should render the same. I haven't
read the spec, so it might be what the spec says, but I never thought of an
image as something affected by line size. The second one has spaces, so that
should use line height. The former though, I am not sure.



Reply via email to