How To Force Div To Appear After Stretched Div
html order is generated from template. Sample output is below. Elements in each row have fixed positions and sizes. This is implemented using row div containing field div with abs
Solution 1:
Try This:
Your HTML:
<divclass='row' ><divclass='field'></div><divclass='field' >
HP ProDesk 490 G3 - Micro tower - 1 x Core i7 6700
</div><divclass='field'>tk</div><divclass='field' >1189</div><divclass='field'>1189</div></div><divclass='row' ><divclass='field'>RAM 16 GB - SSD 256 GB - DVD SuperMulti - GF GT 730M / HD Graphics 530 - GigE - Windows 7 Professional 64-bit Edition / Windows 10 Pro 64-bit Edition downgrade - pre-installed: Windows 7</div></div><divclass='row' ><divclass='horizontalline' ></div></div><divclass='row' ><divclass='field'>2</div><divclass='field' >24x7 monitor: LG 32SL5B</div></div>
Your CSS:
<style>
* {
margin: 0;
padding: 0;
}
.row {
clear: both;
width: 100%;
}
.field {
width: 20%;
font-family: "Times New Roman";
font-size: 10pt;
background-color: transparent;
overflow: hidden;
float: left;
}
</style>
Post a Comment for "How To Force Div To Appear After Stretched Div"