2 つの div を正確に隣り合わせにする方法を理解しようとしていますが、幅などは使用しません。
Bootstrap Responsive を使用しています。正しい div を無効にしました。ただし、左側の div にはまだ右側の div があるように見えます。
これを行う方法はありますか?
.rightinfo { /* On the right */
float:right;
padding:5px;
position:relative;
top: 0;
right: 0;
margin-left:500px; /* Any kind of margin in here doesn't work, even without width */
}
.maininfo { /* On the left */
background:#CAD2E0;
padding: 5px;
width: 69%; /* Even if there's margin-left on the right div, this still overrides it and uses the whole page size if it's 100% width*/
}