I have a box that fades out when clicked, but the form inside it is not working properly.
When I click on '17 | Lampe im Esszimmer ... C301 | Frau Müller', the 'Beschreibung' and 'Notiz' sections appear, but the complete form is missing.
This is the code I am using:
<!DOCTYPE html>
<html>
<head>
<style>
p {width: 320px; margin: 0px;}
form {width: 320px; margin: auto;}
#main {background-color: brown;}
#id17 {background-color: blue; height: 0; overflow: hidden; transition: height 500ms ease-in 0s;}
#id17:target {height: 100px;}
.center {text-align: center;}
</style>
</head>
<body>
<div id='main' class='center'>
<a href=#id17>17 | Lampe im Esszimmer ...<br>C301 | Frau Müller</a><br>
<div id='id17' class='center'><br>
Beschreibung:<br>
Lampe im Esszimmer defekt. Es ist eine LED Birne.<br>
Notiz:<br>
Hier steht eine Notiz, wenn eine geschrieben wurde<br>
<form id='id17' action='test.php' method='post'>
<fieldset>
<select name='std'>
<option value='0'>0</option>
<option value='15'>15</option>
<option value='30'>30</option>
<option value='45'>45</option>
</select><br>
<select name='min'>
<option value='15'>15</option>
<option value='30'>30</option>
<option value='45'>45</option>
<option value='60'>60</option>
</select><br>
<input type='submit' value='erledigt'>
</fieldset>
</form>
</div>
</div>
</body>
</html>
I have seen similar questions, but they have not been answered yet.
Do you understand my issue clearly?