Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 login forms on one page. Problem with text field. Help!

Status
Not open for further replies.

suzisweet

Programmer
Aug 25, 2006
38
GB
Hi all,

I have 2 login boxes on one single page.

They are both in divs. One of the divs is floated right.
When you click on the text entry field on the box to the left the cursur jumps to the text entry filed on the box to the right. This problem does not occur in IE 6 it occurs in firefox.


Can anyone help? reason why it does this and possible solutions would be great?

Thank you very much in advance!

suzi
 
Hi

As addition note, to result your problem abit more was needed there. That more is not an error, just a strangeness.

The [tt]label[/tt] tag can be used in two ways :
Code:
<label for="[red]i[/red]">Text</label>
<input type="text" id="[red]i[/red]">

[gray]# or[/gray]

<label>Text
<input type="text">
</label>
None of the above would cause the problem. But you combined those two. ( Again, not an error, just abit unusual. ) That added that "abit more" which resulted in the strange effect.

Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top