NameSilo

Why can't I select the first textbox ?

Spaceship Spaceship
Watch

chuvke

New Member
Impact
0
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,
Chuvke
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable DomainsUnstoppable Domains
It's something in the css, most likely the absolute positioning. I think "table_01" is covering up the text box, delete it and it will work.
 
0
•••

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back