This is a result Image. Let's take a look at the source html code of input.
| The code is as follows: |
Copy code |
<Div id = "comment"> <Form id = "commentform" method = "post" action = "post. php" enctype = "multipart/form-data"> <Div id = "input"> <Label class = "name" for = "email"> </label> Nickname: <Input name = "username" type = "text" class = "msginput" id = "usernamecontent" value = "" size = "20" maxlength = "30"/> </Div> <Div id = "input"> <Label class = "email" for = "email"> </label> Email address: <input name = "email" type = "text" class = "msginput" id = "useremailcontent" value = "" size = "20" maxlength = "30"/> </Div> <Textarea id = "commentarea" class = "msginput" name = "content"> </textarea> <br/> <Input type = "submit" value = "submit" class = "msgsubmit"/> </Form> </Div> |
Haha, it seems that there is no difference. Let's tell you the difference is id.
| The code is as follows: |
Copy code |
. Msginput { Width: 300px; Border: none; Background: #432914; Margin: 0 0 0 30px; Background: url (images/line.jpg) no-repeat bottom left; Color: # f5e2ca; } # Input { Height: 40px; } # Commentarea { Height: 100px; Overflow: auto; } . Msgsubmit { Float: right; Border: none; Background: # 8d653a; Height: 28px; Width: 54px; Margin: 20px 60px 0 0px; } # Commentname { Line-height: 30px; Padding: 0 0 0 15px; Color: #432914; Background: url (images/nameback.jpg) no-repeat top left; Height: 36px; Width: 90px; Display: block; } |
Let's take a closer look. www.111cn.net is originally reproduced on this site.