IE - 表元素显得太大了 [英] IE - table elements appear too big

查看:91
本文介绍了IE - 表元素显得太大了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我有一张表用于显示数据。


当页面显示在FF中时,表格元素的大小与表格外的文本相同,这就是我想要的内容 。但是,在IE和Safari中,文本看起来要大得多。


我尝试定义一个类来为每个单元格指定一个字体大小,但我找不到一个值''适用于IE和FF - 如果数据在IE中正确显示,它在FF中太小了。如果它在FF中正确显示,它在IE中看起来太大了。


只有表格似乎有这个问题。


这是我的CSS和HTML的小部件(该表显示在#content部分内。#wrapper包含所有部门,包括#content)...

展开 | 选择 | Wrap | 行号

解决方案

我没有看到任何区别。


当我从Dreamweaver加载页面时,表格文本在FF中显示正常但在IE中太大了......


首先:尝试将其加载为纯HTML而不是Dreamweaver。

第二:尝试不同的字体。可能用于表格的任何字体都存在缩放问题。


Hello,

I have a table that I use to display data.

When the the page is displayed in FF, table elements appear the same size as the text outside of the table, and that''s what I want. However, in IE and Safari, the text appears much larger.

I tried defining a class to assign a font size to each cell but I can''t find a value that''s right for IE and FF - if data is displayed correctly in IE, it''s too small in a FF. If it''s displayed correctly in FF, it appears too big in IE.

Only tables seem to be having this problem.

Here are sniplets of my CSS and HTML (the table is displayed inside #content division. the #wrapper wraps all divisions, including #content)...

Expand|Select|Wrap|Line Numbers

解决方案

I don''t see any difference.


When I load the page from Dreamweaver, the table text appears fine in FF but is too big in IE...


First: try loading it as plain HTML instead of from Dreamweaver.
Second: try a different font. Likely whichever font is being used for tables is having scaling issues.


这篇关于IE - 表元素显得太大了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆