• Mont2.13.6.23

    Nous avons vu que le ratio d'une image était important pour ne pas la déformer à la publication.

    Un rappel pour dimensionner une image.

    Dans le cas d'une image publier telle quelle:

    Son adresse en 1600x900px: <img src="http://ekladata.com/4OkSTJ89bVTo7Bz6nww2UZFP1TA.jpg">

    Son adresse modifiée pour s'afficher en 1200x675px: <img src="http://ekladata.com/4OkSTJ89bVTo7Bz6nww2UZFP1TA@1200x675.jpg">

    *******************

    Dans le cas d'une image placée en fond de cadre:

    <p style="width:1200px; height:675px; margin:30px auto; text-align:left; border:4px ridge white; box-shadow:4px 4px 8px black; background:url('http://ekladata.com/4OkSTJ89bVTo7Bz6nww2UZFP1TA.jpg'); background-size:1200px 900px;">&nbsp;</p>

    ce qui donne...