CSS How do I place a submit button on a new line?

How can I put the input type = send to a new line after the text area element?

without using a br or div tag, ideally I like to do this with css.

+6
input css submit newline
source share
2 answers
<textarea></textarea><input type="submit" class="submitbutton"> .submitbutton{ display:block; } 
+10
source share

You can display it as a block level element using display:block . With CSS 2, you can use this rule:

 input[type=submit] { display: block } 
+9
source share

All Articles