无法想象如何将场打破到单独的线上

时间:2016-08-05 23:51:01

标签: html css

我有一个我想要调整的结果页面。现在我有4个字段,我无法弄清楚如何控制。我已经取得了一些进展,但是我认为有一些东西让它们聚集在一条线上?我的结果页面位于:

Results Page

我认为我控制该字段的项目如下:

.IDX-resultsContentMain div {
    color: #333;
    float: left;
    line-height: 1em;
    margin-top: 0;
    margin-right: 10px;
    margin-left: 100px;
    margin-bottom: 5px;
}
.IDX-resultsField-propStatus div{
    margin-left: 100px !important; ;
}
.IDX-resultsField-bedrooms div{
    margin-left: 100px !important; ;
}
.IDX-resultsField-totalBaths div{
    margin-left: 100px !important; ;
}
.IDX-resultsField-partialBaths div{
margin-left: 100px !important; ;
}

有些东西正在将这些字段组合在一起,也许它是一个php文件或其他东西,这是我没有太多经验的地方。

我的目标是让这些字段以任何逻辑方式排列。有任何想法吗?非常感谢。 -Beth

1 个答案:

答案 0 :(得分:0)

所有字段都在同一行,因为所有div都有float: left规则。如果删除它,每个div将以新行开头