table{ background-size: 100%; text-align: center; } td{ max-width: 20%; } table img{ max-width: 100%; } #galerie { background-color: #6A70A5; } #galerie_title { border: 5px solid black; text-align: center; } #galerie_title td { height: 40px; font-size: 20px; font-weight: bold; } #galerie tbody { text-decoration: none; color: #CCCCCC; } #galerie a:link { color: white; font-weight: bold; } #galerie a:visited { color: #CCCCCC; } figcaption { display: none; } @media only screen and (max-device-width: 480px) { td img:hover { position: absolute; width: 90%; left: 10%; margin: 0; } figcaption { display: unset; } }