开发者

Inputs don't line up in firefox/IE, but do in chrome/safari

开发者 https://www.devze.com 2023-04-04 18:45 出处:网络
Any idea why this is开发者_开发知识库 happening? http://watch.renmx.com?user=Pri It is the object in the top right, it looks perfect in chrome, but in firefox it is not lined up.

Any idea why this is开发者_开发知识库 happening?

http://watch.renmx.com?user=Pri

It is the object in the top right, it looks perfect in chrome, but in firefox it is not lined up.

Inputs don't line up in firefox/IE, but do in chrome/safari

Inputs don't line up in firefox/IE, but do in chrome/safari


form > input {

    float: left;
}

Add to your CSS


Just having a play, probably not the correct way to do this. But I did this

.refresh { float: left }
.addshow { 
    border: 0 none;
    color: gray;
    float: left;
    font-size: 1em;
    height: 46px;
    outline: medium none;
    padding: 8px 13px;
    width: 240px;
}
.btn { float: left }

and that seemed to do the trick. Note, I removed the margins as you don't need them on .addshow and fiddled with the padding, everything is floated left.

0

精彩评论

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

关注公众号