|
Hi,
I have three divs which are horizontally side by side.
<div id="Layer1" style="position: absolute; left: 13px; top: 14px; width: 258px; height: 23px; z-index: 1; vertical-align: middle">div 1</div>
<div id="Layer2" style="position: absolute; left: 277px; top: 14px; width: 232px; height: 23px; z-index: 2; vertical-align: middle">div 2</div>
<div id="Layer3" style="position: absolute; left: 515px; top: 14px; width: 233px; height: 23px; z-index: 3; vertical-align: middle">div 3</div>
My question is, Can I define divs in same way but not position absolutely. I want Divs to maintain size and postition but the second Div to be positioned relative to the first and the third to the second.
cheers.
|