Hi
Also ich habe folgenden Code der per PHP vom Webserver an Firefox gesendet wird:
Code
<form name='input' action='' method='POST'><input type='hidden' name='theme_mod' value='2'/>
<input type='submit' value='Go to the Layouter'/></form><br>---
<form name='input' action='' method='POST'><input type='hidden' name='theme_mod' value='3'/>
<input type='submit' value='Go to the Block-Editor'/></form><br>---
<form name='input' action='' method='POST'><input type='hidden' name='theme_mod' value='1'/>
<input type='submit' value='Go to the Generator'/></form><br>---
<form name='input' action='' method='POST'><input type='hidden' name='theme_mod' value='2'/>
<input type='submit' value='Go to the Layouter'/></form><br>---
<form name='input' action='' method='POST'><input type='hidden' name='theme_mod' value='3'/>
<input type='submit' value='Go to the Block-Editor'/></form><br>---
<form name='input' action='' method='POST'><input type='hidden' name='theme_mod' value='1'/>
<input type='submit' value='Go to the Generator'/></form><br>---
Alles anzeigen
Firefox macht daraus dies:
Code
<input name="theme_mod" value="2" type="hidden">
<input value="Go to the Layouter" type="submit"><br>---
<form name="input" action="" method="POST"><input name="theme_mod" value="3" type="hidden">
<input value="Go to the Block-Editor" type="submit"></form><br>---
<form name="input" action="" method="POST"><input name="theme_mod" value="1" type="hidden">
<input value="Go to the Generator" type="submit"></form><br>---
<form name="input" action="" method="POST"><input name="theme_mod" value="2" type="hidden">
<input value="Go to the Layouter" type="submit"></form><br>---
<form name="input" action="" method="POST"><input name="theme_mod" value="3" type="hidden">
<input value="Go to the Block-Editor" type="submit"></form><br>---
<form name="input" action="" method="POST"><input name="theme_mod" value="1" type="hidden">
<input value="Go to the Generator" type="submit"></form><br>---
Alles anzeigen
Was passiert mit dem ersten Form-Tag?
Das Problem ist, dass ja eigentlich sechs Buttons untereinander sichtbar sein sollten. Allerdings springt der erste aus der Reihe. Er hat viel weniger Abstand zum nächsten Button als die Restlichen.
Wenn ich eine leere Form
Code
<form name='input' action='' method='POST'><input type='hidden' name='theme_mod' value='2'/></form>
davorschalte, kann ich Firefox austricksen und alle richtigen Forms, also alle sechs Buttons, werden gleich und richtig angezeigt.
Ist das ein Bug oder ein absurdes Feature?? :lol:
[Edit]
Achja, der erste Button funktioniert nichtmals richtig. Ist also kein reines Anzeigeproblem.
[Edit2]
Achja: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8