08-05-2005, 05:45 AM
| THREAD STARTER
#1 (permalink)
|
| First Time Poster! Join Date: Aug 2005
Posts: 1
| Why can't i select the first textbox ? Hi All,
I'm trying to get the folowing piece of code to get to work; that means be able to slect the first text box also.
It seems like being an conflict with the Table_01 div style and the position: relative style of the textbox. The z-index seems to have no effect
Can someone explain me what is happening here ? Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<style type="text/css">
#Table_01 {
HEIGHT: 670px; LEFT: 0px; WIDTH: 805px; POSITION: absolute; TOP: 0px; Z-Index: 0;
/* LEFT: 0px; WIDTH: 805px; POSITION: absolute; TOP: 0px; Z-Index: 0; */
}
</style>
</head>
<body>
<form name="_ctl0" method="post" action="SomePage.aspx" id="_ctl0">
<div id="Table_01"> </div>
<div align="center">
<input name="TextBox1" type="text" id="TextBox1" style="Z-INDEX: 2;" />
<input name="TextBox2" type="text" id="TextBox2" style="Z-INDEX: 2; position: relative;" />
</div>
<div> <span style="Z-INDEX: 1; LEFT: 206px; POSITION: absolute; TOP: 302px">
<input id="CheckBox1" type="checkbox" name="CheckBox1" />
</span>
</div>
</form>
</body>
</html> Greetz, ????: NamePros.com http://www.namepros.com/web-design-discussion/112807-why-cant-i-select-first-textbox.html
Chuvke
Last edited by chuvke; 08-05-2005 at 05:57 AM.
|
| |