[AJ] Exemple d'un element utilisant moins de DIV pour afficher tout

aussi bien un élément d'une catégorie
master
Olivier DOSSMANN 2011-11-18 13:39:43 +01:00
parent 404e7ce99b
commit 09f9dc1842
1 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,35 @@
<html>
<head>
<title>sdklfj</title>
<style>
a {
display: block;
height: 9em;
width: 19ex;
margin: 0 5px 10px 5px;
float: left;
border: thin solid #000000;
-moz-border-radius: 15px;
border-radius: 15px;
-webkit-border-radius: 15px;
-moz-box-shadow: 1px 1px 8px #000000;
box-shadow: 1px 1px 8px #000000;
-webkit-box-shadow: 1px 1px 8px #000000;
overflow: hidden;
}
a img {
}
a:hover {
background-color: red;
}
</style>
</head>
<body>
<div class="element">
<a href="@@URL_ELEMENT@@" title="@@DESC_ELEMENT@@">@@TITRE_ELEMENT@@ <img src="@@URL_IMAGE@@" alt="@@TITRE_IMAGE@@" title="img" /></a>
</div>
</body>
</html>