开发者

Td height behaviour on different browsers

开发者 https://www.devze.com 2023-04-12 23:34 出处:网络
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) ?

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

精彩评论

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