My goal is to place 3 images on the same line with the same distance from each other, as shown in the figure below (provided that 2 arrows have the same length).

Now my solution is very ugly that breaks if the window size is too small:
<h1>
<div style="width:105px; height:30px; float:left; margin-top:25px;">
<img src="image1.png"/>
</div>
<div style="width:190px; height:30px; float:left; margin-top:25px; margin-left:30%; margin-right:30%;">
<img src="image2.png"/>
</div>
<div style="width:102px; height:30px; float:right; margin-top:25px;">
<img src="image3.png"/>
</div>
<div style="clear: both;">
</div>
</h1>
I would prefer a βcleanβ solution, but my HTML positioning knowledge is still too limited. Any help would be appreciated.
source
share