How can i make the inner table to overlap the parent div with 5 px while resizing?
my current solution:
<div id='crop'> <table style='width:105%; height:105%;'> //table cells </table> </div>
problem is that it gets smaller when resizing…
how can I make it constantly overlap with 5px;
The folling seems to work nicely in FF3, Chrome and IE7. Though using expressions in CSS styles for IE is not ideal.
You should see that when rendered, the blue ‘outer’ div is displayed within the ‘inner’ div. The ‘inner’ div will be red for browsers other than IE where it will be green instead.
Also note, in this example I had to subtract 2px from the height of the ‘inner’ div to adjust for the top and bottom borders.