XHTML strugling with vertical cell spaces Please Help

liunx

Guest
Hi everybody,<br />
<br />
This is XHTML transitional and I am afraid to loss a lot of time with something that can not work?<br />
<br />
I am strugling for some time to get sliced images in table cells together and can't find in css anything what works.<br />
<br />
Is this an XHTML matter and can't this be solved or is there any parameter where I not know off?<br />
<br />
In horizontal direction it is ok but in vertical direction it keeps a space. margins are set to 0<br />
<br />
The only thing what I found out was that when I change the font-size for that table to 1px is is OK but this is not an option.<!--content-->The space happens because img is an inline element. Try defining it to be a block element and see if that gets you what you want. To define ALL images as block you can put<br />
<br />
img { display: block; }<br />
<br />
in your stylesheet.<!--content-->You saved my day, that works.<br />
<br />
Thank you so much, this one I realy did't know yet.<br />
<br />
Jan<!--content-->
 
Back
Top