Estoy probando con la colocación de imágenes y la propiedad bottom. Si pongo el enlace de la imagen se ve todo bien, pero si lo quito pasa lo que veis en las imágenes, las webs aparecen distintas en safari y firefox, ¿sabéis por qué puede ser?
Me pasa demasiado a menudo que en firefox lo veo distinto que en safari y chrome (siempre lo veo en Mac).
Safari
Disposición: OK.
Tamaño: OK.
Texto alt: solo aparece en imagen con position:static.
Firefox
Disposición: OK.
Tamaño: solo lo respeta en imagen con position:absolute.
Texto alt: OK.
safari escribió:
firefox escribió:
Código HTML :
<!DOCTYPE html>
<html lang="es">
<head>
<title>bottom</title>
<meta charset="utf-8">
<style type="text/css">
body{padding:0;border:0;margin:0;}
img{border:1px dotted #296BA2;}
.relative{
bottom:25px;
position:relative;
}
.absolute{
bottom:25px;
position:absolute;
}
</style>
</head>
<body>
<img src="" width="100px" height="100px" alt="static 100x100" />
<img class="relative" src="" width="100px" height="100px" alt="relative 100x100" />
<img class="absolute" src="" width="100px" height="100px" alt="absolute 100x100" />
</body>
</html> 