How to align multiple images horizontally (in a row)? You’re probably already familiar with these alignment settings. Then allocate most of that amount to the image's width and a little bit of it to the image's right-hand margin. In the absence of any CSS rules defining the display width of the image, it will still work in most browsers.