http://www.timolimo.com/firefox/test2.htm
I'd be grateful for suggestions.
Thanks!
TR
<img src='middle.gif' style="width:100%;height:22px">
I'm assuming you're talking abnout that?
use the img height and width attributes. Then you can flatten
the height to 1 if you wish.
<TR>
<!-- why does this cell have so much height in IE6? -->
<TD style="width:150px;height:1px; border-right:1px solid
#CCCCFF;border-left:1px solid #CCCCFF ">
<IMG src="stretcherimg.gif" style="width:150px;height:1px"/>
</TD>
</TR>
Timo
"s_m_b" <smb20...@hotmail.com> wrote in message
news:Xns950A624EB42F7sm...@207.46.248.16...
: TR <t...@my.biz> wrote in news:MPG.1b3621a25201d64e9896c9
: >
: >
: >
: >
: >
:
Le 16/06/2004 15:44, Timo a ecrit :
> Thanks for the reply, but no, I was talking rather about the cell containing
> the transparent image, whose height is set to 1px (as is the image it
> contains) but the cell is being displayed about 22px high. I annotated the
td img {display:block;}
Images are inline elements with a line-height value.
You should also set a strict DTD definition so as to force all browsers
to be as respectful as possible to the standards (and thus to have a
more similar behaviopur).
Pascal
--
Pascal Chevrel - Mozilla Champion
FAQ Mozilla/Netscape 7 en français : http://www.chevrel.org/fr/faq/
Foros Mozilla en español : http://www.chevrel.org/es/foros/
"Pascal Chevrel" <pascal.chev...@free.fr> wrote in message
news:40d078b4$0$279$636a...@news.free.fr...
:
:
: td img {display:block;}
: