PureMisery
10-04-2007, 04:24 AM
I'm trying to get 3 elements evenly spaced on the same line.
<div style="width:650px;height:385px;">
<div style="float:left">Item 1</div>
<div>Item 3</div>
<div style="float:right;">Item 2</div>
</div>
I had it working fine for 2 items but I can't get a 3rd to evenly space itself between 1 and 2. I've tried every combination of placement styles that I could think of. I know it can be done with tables but I want to try and stay away from those.
Any help is appreciated.
<div style="width:650px;height:385px;">
<div style="float:left">Item 1</div>
<div>Item 3</div>
<div style="float:right;">Item 2</div>
</div>
I had it working fine for 2 items but I can't get a 3rd to evenly space itself between 1 and 2. I've tried every combination of placement styles that I could think of. I know it can be done with tables but I want to try and stay away from those.
Any help is appreciated.