Click to See Complete Forum and Search --> : z-index new problem!


hakimeh
10-19-2009, 12:18 PM
Hi
I have a div that contains a table with a checkbox :

<div id="someID">
<table>
<tr>
<td>
<input type="checkbox" />
</td>
</tr>
</table>
</div>

and the CSS:

#someID {
width: 1053px;
height:auto;
border: 1px solid #AD9396;
padding-top: 2em;
float:none;
position:relative;
z-index:-1;
}

I can't check or uncheck the checkbox!:eek:
but when I delete the line : " z-index:-1; " everything looks ok!:confused:

I need to use z-index property.
How can I solve this problem?

thanx in advance

thraddash
10-19-2009, 01:34 PM
Why do you need to use z-index anyway, are there more <div> elements on the screen?

I would not recomment a negative z-index, it doesn't normally work well.