开发者

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

开发者 https://www.devze.com 2023-01-30 07:57 出处:网络
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 eleme

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

精彩评论

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