Css 如何预防<;divs>;从下移

Css 如何预防<;divs>;从下移,css,organization,Css,Organization,我正在组织一个数据页。所有客户信息,如电话,地址在左边,然后在右边,我们有关于他们的笔记。事情是这样的。添加的段落越多,左边的信息就越多。我该怎么做才能使左侧信息面板保持不变,而不管右侧显示了多少数据 下面是一些代码: <div id="name"> Andrew Smith </div> <div id="otherinfo"> Paid. </div> <div id="itemheading"> A

我正在组织一个数据页。所有客户信息,如电话,地址在左边,然后在右边,我们有关于他们的笔记。事情是这样的。添加的段落越多,左边的信息就越多。我该怎么做才能使左侧信息面板保持不变,而不管右侧显示了多少数据

下面是一些代码:

<div id="name">
    Andrew Smith
</div>

<div id="otherinfo">
    Paid.  
</div>

<div id="itemheading">
    About Client
</div>
<div id="itemholder1">
    Here is the client informaiton.  This is where the more info you 
    have the more the left side panel will be brought down. 
</div>


<div id="itemheading">
    Address
</div>
<div id="itemholder">
    2000 sample st
    <br>
    san fran, ca
    <br>

有两列,一列在左边,另一列在右边。据我所知,您希望将信息添加到右侧列中,而不会导致左侧列中的信息显示在其下方

目前,你是交错的div走在左边和一个去的权利;相反,你应该有两个div,一个用于所有左手部分,另一个用于所有右手部分:

<div id='left'>
all the stuff that goes in the left-hand column,
name, 
address, 
etc
</div>

<div id='right'>
everything that goes in the right-hand column
</div>

左边一栏的所有内容,
名称
地址:,
等
右边一栏中的所有内容

然后使用适当的CSS来显示它们。

您能为您提到的“左侧”内容发布一些标记/CSS吗?以上内容可能不足以解决此问题。#名称、其他信息、项目标题、项目持有人、项目持有人1等都是“左”内容。我使用了单独的div,让他们尝试执行您要求我执行的操作。它仍然给我同样的结果。嘿,我回来了!它对左边有效,但现在我对右边有问题。它可以让内容远离页面,甚至在页脚下方。。。
<div id='left'>
all the stuff that goes in the left-hand column,
name, 
address, 
etc
</div>

<div id='right'>
everything that goes in the right-hand column
</div>