I am attempting to align 4 divs next to each other within a parent div at specific positions. The proposed div structure is as follows (referred to as the maindiv):
<div>
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
</div>
My goal is to position the div containing the text '1' to the left within the maindiv.
Then, I aim to position the div with text '2' 50px from the left side of the maindiv.
Next, I intend to set the div displaying '3' at 150px from the left side within the maindiv.
Lastly, I plan to place the div showing '4' at 200px from the left side of the maindiv.
I have attempted multiple CSS methods without success, unfortunately.
Does anyone have any suggestions?