边界向内而不是向外

时间:2014-09-26 22:07:47

标签: css firefox border

我的边界向内而不是正常的向外。我不知道发生了什么,因为我的代码中没有新的东西。对此(和解决方案)有任何简单的解释吗?

enter image description here

它在其他浏览器中运行良好。我在FF33上。

更新
http://jsfiddle.net/8Lyrnm5s/

HTML:

<div class="container">
  <div class="post_section">
    <div class="repetitive_q_wrap"></div>
  </div>
</div>

CSS

.container {
  margin: 0 auto;
  max-width: 600px;
  padding-left: 10px;
  padding-right: 10px;
  width: 100%;
}

.post_section {
  font-size: 16px;
  margin: 50px 0;
}

.post {
  background-color: #fff;
  border-color: #295269 #ddd #ddd;
  border-style: solid;
  border-width: 10px 15px 1px;
  padding: 30px 50px;
}

0 个答案:

没有答案