简体   繁体   English

弹出窗口中的HTML / CSS Div标签对齐问题

[英]HTML/CSS Div tag alignment issue in pop-up

I've been struggling with div alignments for a while. 我一直在努力与div对齐。 I have one pop-up in which I have 4 inline-block divs. 我有一个弹出窗口,其中有4个内联块div。 Now when all of them have no content, the alignment seems to be fine. 现在,当它们都没有内容时,对齐似乎很好。 But as soon as I add some input button tags in one of the div, that particular div goes off alignment. 但是,一旦我在div之一中添加了一些输入按钮标签,该特定的div就不再对齐。

Here is HTML/CSS in jsfiddle 这是jsfiddle中的 HTML / CSS

Any suggestions on what's wrong with CSS. 关于CSS有什么问题的任何建议。 Thanks you. 谢谢。

Give .selectDiv "vertical-align:top;" 给.selectDiv“ vertical-align:top;” and .vBtnBar "margin:10px;" 和.vBtnBar“ margin:10px;”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM