Hello. There is an interesting task.
<div class="slider"> <div class="1s">1st slide</div> <div class="2s">2nd slide</div> <div class="3s">3d slide</div> </div>
CSS:
.1s { float: left; } .2s { margin: 0 auto; } .3s { float: right; } .slider div { width: 200px; }
The essence of the problem: 1st div align on the left side, 3rd - on the right, and central in the center. The text in each block is aligned to the left. The central block has a minimum indent of 150 pixels from both blocks.
I get in this way that slide 3 slides down, I can not figure out how to make it inline