HTML and CSS Reference
In-Depth Information
<
--
comment_post_ID value hard-coded as 1 --
>
<
input
type
="
hidden
"
name
="
comment_post_ID
"
value
="
1
"
id
="
comment_post_ID
" />
<
input
name
="
submit
"
type
="
submit
"
value
="
Submit comment
" />
</
form
>
</
div
>
COMMENT FORM CSS
Let's apply some CSS to make things look a bit nicer by adding the following to
main.css
:
#respond
{
margin-top
:
40px
;
}
#respond input[type='text'],
#respond input[type='email'],
#respond textarea
{
margin-bottom
:
10px
;
display
:
block
;
width
:
100%
;
border
:
1px solid rgba(0, 0, 0, 0.1)
;
-webkit-border-radius
:
5px
;
-moz-border-radius
:
5px
;
-o-border-radius
:
5px
;
-ms-border-radius
:
5px
;
-khtml-border-radius
:
5px
;
border-radius
:
5px
;
line-height
:
1.4em
;
}