Jump to content

Opera VS FireFox


HektoR

Recommended Posts

wow great.

this is most useful answer wich i saw before.

 

can i mark topic as solved?

 

p.s.

can enyone help me to solve this problem?

It's an appropriate answer to an exceptionally vague question. You're telling us absolutely nothing about your problem other than "I've written something that doesn't work"

In what way doesn't it work? That would be a starting point.

What have you tried to get it to work?

If you do a "view page source" in Firefox, what do you see?

 

You give us a clue, and we'll try to help!

Link to comment
Share on other sites

here is my code.

 

<form id="form1" name="form1" method="post" action="search.php>
  <label>asdasda
<input type="text" name="id_n" id="id_n" />
  <br />
  <br />
  </label>
  <label>lastname</label>
<input type="text" name="111" id="111" value"" />
  <br />
  <br />
  <input type="submit" value="submit" />
  </label>
</form>

 

in opera this for does not work. it does not goes to search.php

Link to comment
Share on other sites

You also have a spurious closing </label>

Don't believe that you can have an <input> embedded within a <label>

 

Yes you can. That's no problem at all.

 

Here is an excerpt from the HTML 4.01 Strict DTD:

<!ENTITY % formctrl "INPUT | SELECT | TEXTAREA | LABEL | BUTTON">
<!ENTITY % inline "#PCDATA | %fontstyle; | %phrase; | %special; | %formctrl;">
<!ELEMENT LABEL - - (%inline;)* -(LABEL) -- form field label text -->

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.