在td中,在IE7中DIV边界不同 [英] DIV borders different in IE7 when in td
问题描述
您好,
我创建了一个包含两列的表,第二列的固定宽度为
64px并包含一个div, div有一个边框并包含一些文本,
文本渲染大于64px。这是一个更复杂的
复杂页面的缩减版本,用于说明问题所以只需将其更改为div或某些
就不会有帮助。
>
在IE6和FF2中,div边框自动拉伸以包含文本,
在IE7中div设置为64px并保持在那里,我不认为这是
正确的行为,但我似乎无法再找到这个问题,
谁能给我一些指示?
tia,
Dave
Hello,
I''ve created a table with two columns, the second column is fixed width at
64px and contains a div, the div has a border and contains some text, the
text renders to larger than 64px. This is a cut down version of a more
complex page to illustrate the problem so just changing it to divs or some
such wont help.
In IE6 and FF2 the div border automatically stretches to contain the text,
in IE7 the div is set to 64px and stays there, I don''t think this is the
correct behaviour, but I can''t seem to find another mention of this problem,
could anyone give me some pointers?
tia,
Dave
推荐答案
oops - 它在 http://members.iinet.com.au/~d****@powerup。 com.au/
oops - its at http://members.iinet.com.au/~d****@powerup.com.au/
4月29日上午11:00,达沃 < wave _... @ hotmail.comwrote:
On Apr 29, 11:00 am, "Davo" <wave_...@hotmail.comwrote:
oops - 在 http://members.iinet.com.au/~da...@powerup.com.au/
未找到。尝试使用em而不是像素作为字体大小的单位
Not found. Try using em instead of pixels for your font-size units
>
>
未找到。尝试使用em代替像素为你的字体大小单位
Not found. Try using em instead of pixels for your font-size units
不确定你收到的东西似乎不是我发送的东西试试
< a rel =nofollowhref =http://tinyurl.com/6gnpuctarget =_ blank> http://tinyurl.com/6gnpuc
if you'好奇。但是你的em建议似乎已经解决了,非常感谢
。在我的列表中将其更改为ems,但是没有优先考虑
,您有理由吗?
再次感谢,
Dave
Not sure what you received it didn''t seem to be what I sent try
http://tinyurl.com/6gnpuc
if you''re curious. However your em suggestion seems to have fixed it, thanks
very much. It was on my list of things to change it to ems, but wasn''t a
high priority, would you have a reason?
thanks again,
Dave
这篇关于在td中,在IE7中DIV边界不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!