How can I place an input type=submit on a new line following a text area element?
without using a br tag or a div, ideally I like to do it using css.
How can I place an input type=submit on a new line following a text area element?
without using a br tag or a div, ideally I like to do it using css.
<textarea></textarea><input type="submit" class="submitbutton">
.submitbutton{
display:block;
}
You can display it as a block-level element with display:block
. With CSS 2 you can use this rule:
input[type=submit] {
display: block
}