CSS/HTML: Inputfield in the middle of the floated element
I have this right now:
http://jsf开发者_如何学JAVAiddle.net/Rf8gy/ And this is how I want it:
If you see in the fiddle, the input field is at top. I want it be like the middle of the floated element on the left. How can I do this?
The easier way is to add a top margin to the input:
#statusUpdate {
margin-top:10px;
}
Just add this line in your css:
#smartStatus_writer input{
margin-top: 11px;
}
精彩评论