开发者

Td height behaviour on different browsers

Could someone take a look a the page generated by the following code, and tell me why the space between trs is not the same (Chrome > IE > Firefox) ? And how to resolve it (Already tried CSS Reset) ?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>Test</title>
</head>
<body>
    <table cellspacing='0' cellpadding='0'>
        <tr>
            <td><input type='text' /></td>
        </tr>
        <tr>
            <td><input type='text' /></td>
        </tr>
    </table>
</body>开发者_StackOverflow社区;
</html>


Form elements are rendered differently by different browsers — it could be that, rather than the <table> code, that’s causing the difference.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜