Skip to content
Extraits de code Groupes Projets
Valider caa4ff3e rédigé par RealET's avatar RealET :kissing_cat:
Parcourir les fichiers

Images inline : forcer la taille à la hauteur de la ligne de texte +...

Images inline : forcer la taille à la hauteur de la ligne de texte + positionement harmonieux en hauteur.

Pourquoi ?
Parce que l'usage logique d'une image inline, c'est qu'elle soit considérée comme un caractère dans le texte.
parent ae8634e7
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -9,4 +9,11 @@ ...@@ -9,4 +9,11 @@
margin-top: 0; margin-top: 0;
} }
.spip_document_inline { display: inline; } .spip_document_inline {
\ No newline at end of file display: inline;
}
.spip_document_inline img {
height: 1em;
width: auto;
vertical-align: middle;
}
\ No newline at end of file
...@@ -1295,6 +1295,11 @@ div.spip_poesie div { margin-left: 60px; text-indent: -60px; } ...@@ -1295,6 +1295,11 @@ div.spip_poesie div { margin-left: 60px; text-indent: -60px; }
.spip_documents_left { clear: left; margin-right: 15px; text-align: center; } .spip_documents_left { clear: left; margin-right: 15px; text-align: center; }
.spip_documents_right { clear: right; margin-left: 15px; text-align: center; } .spip_documents_right { clear: right; margin-left: 15px; text-align: center; }
.spip_document_inline { display: inline; } .spip_document_inline { display: inline; }
.spip_document_inline img {
height: 1em;
width: auto;
vertical-align: middle;
}
#content .spip_documents img { padding: 0; border: none; } #content .spip_documents img { padding: 0; border: none; }
.spip_documents { text-align: center; } .spip_documents { text-align: center; }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter