Monday, April 23, 2012

firefox position absolute inside a relative container issue

i am using table for displaying my dynamically generated data depend upon the user input the html structure is looks like below:

<td style="position:relative;"> //like this i set for all td in table
<div style="position:absolute">//like this i set for all div in table

Here the div is goes to top corner of the body.all these above styles are applied throght the javascript and its working fine in chrome,IE,but not in FF like the image below

![enter image description here][1]

if we change the position of the div to absolute to relative it will align correctly but i am make a hover effect while the user hover the div's for that the positions are important and this issue happens only in firefox

No comments:

Post a Comment