开发者

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:

CSS/HTML: Inputfield in the middle of the floated element

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;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜