出现在同一行中的同一行中的基础列

时间:2014-06-03 16:09:09

标签: html zurb-foundation

我在同一行中有两个div大6列,但它们看起来在彼此之下。

<div class="row" style="height:100%;">
  <div class="large-6 cloumns show-for-large-up" style="height:inherit;">
    <!-- Some Content -->
  </div>
  <div class="large-6 cloumns show-for-large-up" style="height:inherit;">
    <!-- Some Content -->
  </div>
</div>

我已尝试删除100%的高度等,但它没有解决问题。

1 个答案:

答案 0 :(得分:1)

查看此html的css会很有帮助,但您可能需要在内部div中添加一个float和width,以便它们并排显示。尝试将float:left; width:50%;添加到.large-6

相关问题