Hello. Developing a page for mobile devices. In the .css file set the maximum and minimum page width:
max-width: 640px; min-width: 400px;
My maximum width is 4 inches.
On the page I need to display 2 photos.
How to calculate the size of these photos so that they stand side by side, without transferring to the next line (that is, not so that the second photo is under the first one), considering the user's screen resolution?
I would be grateful for any useful information.