diff --git a/files/en-us/learn_web_development/extensions/forms/how_to_structure_a_web_form/example/index.md b/files/en-us/learn_web_development/extensions/forms/how_to_structure_a_web_form/example/index.md index 22df81091ea8e17..bb3413e01db4fbb 100644 --- a/files/en-us/learn_web_development/extensions/forms/how_to_structure_a_web_form/example/index.md +++ b/files/en-us/learn_web_development/extensions/forms/how_to_structure_a_web_form/example/index.md @@ -125,7 +125,7 @@ form { border-radius: 1em; } -div + div { +p + p { margin-top: 1em; } @@ -135,7 +135,7 @@ label span { } input, -textarea { +fieldset { font: 1em sans-serif; width: 250px; box-sizing: border-box; @@ -153,18 +153,6 @@ textarea:focus { border-color: #000; } -textarea { - vertical-align: top; - height: 5em; - resize: vertical; -} - -fieldset { - width: 250px; - box-sizing: border-box; - border: 1px solid #999; -} - button { margin: 20px 0 0 0; }