I am working on this code and this code working fine in Chrome
but not in Firefox
Here is code
<html lang="en-US">
<body><table style="width: 100%;">
<tbody><tr>
<td style="position: relative; width: 50%; height: 500px; vertical-align: top; overflow: hidden;">
<div style="position: absolute; background-color: blue; height: 100%; width: 100%;"></div></td>
<td style="position: relative; width: 50%; height: 500px;"></td>
</tr>
</tbody></table>
</body>
</html>
If you want to see here is JSFiddle for code in working
Please explain me why div
in Firefox
covering whole width of the screen, it should cover only 50% width as Chrome
is showing.