Skyfay
Mitglied
Hey ich möchte das so machen wie ich es unten schicke allerdings geht nur der unterste button.
Wenn ich den untersten entferne (also z.b auskomentiere) dann geht der mittlere.
Ich weiss dass html von oben nach unten liest aber wie genau kann ich das machen, dass jedes funktioniert?
Danke schonmal für eure Hilfe.
<body>
<header>
<div id="instagram">
<form>
<input class="MyButton" type="button" value="Instagram" onclick="window.location.href='https://instagram.com/xxxxxxx" />
<form>
</div>
<div id="youtube">
<form>
<input class="MyButton1" type="button" value="YouTube" onclick="window.location.href='https://youtube.com/xxxxxxxx'" />
</form>
</div>
<div id="twitch">
<form>
<input class="MyButton2" type="button" value="Twitch" onclick="window.location.href='https://twitch.tv/xxxxxxxx'" />
</form>
</div>
Wenn ich den untersten entferne (also z.b auskomentiere) dann geht der mittlere.
Ich weiss dass html von oben nach unten liest aber wie genau kann ich das machen, dass jedes funktioniert?
Danke schonmal für eure Hilfe.
<body>
<header>
<div id="instagram">
<form>
<input class="MyButton" type="button" value="Instagram" onclick="window.location.href='https://instagram.com/xxxxxxx" />
<form>
</div>
<div id="youtube">
<form>
<input class="MyButton1" type="button" value="YouTube" onclick="window.location.href='https://youtube.com/xxxxxxxx'" />
</form>
</div>
<div id="twitch">
<form>
<input class="MyButton2" type="button" value="Twitch" onclick="window.location.href='https://twitch.tv/xxxxxxxx'" />
</form>
</div>