-1

誰かがこれについて私を助けてくれますか?

リストごとに div を使用したデータの列が 2 つあります。両方のリストは、互いの下ではなく左に並べる必要があります。

http://jsfiddle.net/c6242/1878/

<style>
#row1{
float:left;
}
</style>


<style>
.col1{

margin-left:50px;
width:150px;
border:1px solid;
border-color:red;
}
</style>

<style>
.col2{

margin-left:100px;
width:150px;
border:1px solid;
border-color:red;
}
</style>

<!--one coloum-->
<div class="col1" id="row1">Sr No:</div>
<div class="col1">Entry Date:</div>
<div class="col1">Name</div>
<div class="col1">Phone No:</div>
<div class="col1">Email ID:</div>
<div class="col1">MRF Code:</div>
<div class="col1">Location:</div>
<div class="col1">Total Exp:</div>
<div class="col1">Last Organisation:</div>
<div class="col1">Current CTC:</div>
<div class="col1">Notice Period:</div>
<div class="col1">Source:</div>

<!--second column both needs to be side by side-->
<div class="col1" id="row1">Sr No1:</div>
<div class="col2">Entry Date1:</div>
<div class="col2">Name1</div>
<div class="col2">Phone No1:</div>
<div class="col2">Email ID1:</div>
<div class="col2">MRF Code1:</div>
<div class="col2">Location1:</div>
<div class="col2">Total Exp1:</div>
<div class="col2">Last Organisation1:</div>
<div class="col2">Current CTC1:</div>
<div class="col2">Notice Period1:</div>
<div class="col2">Source1:</div>


</body>

どんな助けでも感謝..

4

1 に答える 1