There are pictures that I want to place IN ONE LINE ON ALL SCREEN WIDTH so that the height of the pictures is the same RELATIVE TO A FRIEND OF A FRIEND at any resolutions, while each of them retains its proportions: not narrowed, not stretched and adjoined close to each other. And I would like to achieve cross-browser compatibility - is it real? link to fidl
* { margin:0; padding:0; } img { max-width:100%; } <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> <!-- Latest compiled and minified JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script> <section class="row"> <div class="col-sm-3 col-xs-3"> <img src="http://placehold.it/598x396"> </div> <div class="col-sm-3 col-xs-3"> <img src="http://placehold.it/488x396"> </div> <div class="col-sm-3 col-xs-3"> <img src="http://placehold.it/605x396"> </div> <div class="col-sm-3 col-xs-3"> <img src="http://placehold.it/756x396"> </div> </section>
max-height:нужная_высотаinstead ofmax-width- Umer