html - overflowed table inside div -
i have small problem.
<div style="height:500px; overflow:hidden"> <table style="height:1000px">....</table> </div>
overflowed parts of table visible. how can fix this
updated:
my code this:
<style> #trademark img{ width:300px; height:250px; box-shadow: 0px 0px 50px #888888; } </style> <div id="trademark" style="height:570px; overflow:hidden; background-color:#f00"> <table id="trade_content" style="position:absolute; margin-left:103px;" border="0" cellpadding="15"> <tr> <td align="center"><img src="1.png"></td> <td align="center"><img src="2.png"></td> <td align="center"><img src="3.png"></td> </tr> </table> </div>
you have added position:absolute;
in table hide overflowed parts of table need add position:relative;
in parent <div id="trademark">
hope solve issue.
Comments
Post a Comment