In article <MPG.1afba7ccc4116c779896a9 (AT) nntp (DOT) uib.no>, jung (AT) uib (DOT) no says...
Quote:
I want images in table rows connect vertically.
IExplorer has no vertical space between the imgs,
Mozilla has 1 px, and
Opera has 2 px. |
Supplement:
This is the same if I put it in divs instead of tds (changed css
respectively):
<div> <img> <img> text </div>
<div> <img> <img> <img> text </div>
<div> <img> <img> <img> text </div>
There are vertical gaps. I have now found out why. I stripped too much
in the code excerpt; I forgot to include the links. It was really more
like this:
<div> <img> <a> <img> text </a> </div>
<div> <a> <img> </a> <img> <img> <a> <img> text </a> </div>
and so on. It seems to work only if either the whole line is linked or
nothing is linked at all (including img and text):
<div> <a> <img> </a> <a> <img> </a> <a> text </a> </div>
<div> <a> <img> </a> <a> <img> </a> <a> text </a> </div>
aligns fine in all browsers.
<div> <a> <img> <img> text </a> </div>
<div> <a> <img> <img> text </a> </div>
as well.
A non-linking text or img along with linking ones inserts extra vertical
space in Opera and Mozilla. I have tried a lot now. Even style
definitions like
a { border:0; margin:0; border-collapse:collapse; }
wouldn't do the trick. I want to get rid of the spaces, and I'd rather
not dummy-link all elements in a row, as you might understand.
Any help is highly appreciated.
- Daniel
Quote:
I want the "IExplorer way" cross browser-wise.
Any help is appreciated.
Thx,
- Daniel |