Renseignement

Fermé
jeffparker Messages postés 2 Date d'inscription mardi 10 septembre 2013 Statut Membre Dernière intervention 10 novembre 2013 - 22 sept. 2013 à 14:09
RAD ZONE Messages postés 5224 Date d'inscription samedi 20 janvier 2007 Statut Contributeur Dernière intervention 22 mars 2024 - 22 sept. 2013 à 18:43
Bonjour!
Je voudrais avoir pour mon document CSS une image à la place des puces de la liste à puce dans mon fil arianne.
merci

1 réponse

RAD ZONE Messages postés 5224 Date d'inscription samedi 20 janvier 2007 Statut Contributeur Dernière intervention 22 mars 2024 1 353
22 sept. 2013 à 18:43
Salut

il faut juste styler la liste !

exemple

<!DOCTYPE html>
<html>
<head>
<title>
RAD ZONE Webcreation
</title>
<meta charset="utf-8">
<style type="text/css">
<!--
li {
list-style-type: none; /* on annule la puce par défaut */
background-image: url(data:image/gif;base64,R0lGODlhGQAZAHMAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCgAPACwAAAAAGQAZAIMAAAAREREiIiIzMzNERERXV1dqamp4eHiFhYWbm5uxsbG8vLzS0tL+/v7///8PDw8ERNDJSau9OOvNu6fNhyVFIlpFWjDnhKiF0UrMARdh29zIzNyKmUMBY+lIqeDJAJOJiMXTAiiaRk+w3oyJE3q/4LB4LIkAADs=); /* on affiche l'image souhaitée */
background-repeat: no-repeat; /* on annule la répétition par défaut */
background-position: left center; /* on positionne où l'on veut */
padding-left: 25px; /* pour éviter la superposition du contenu en fonction du width de l image */
margin-bottom: 5px /* pour aerer si besoin en fonction de l image */
}
-->
</style>
</head>
<body>
<ul>
<li>1
</li>
<li>2
</li>
<li>3
</li>
</ul>
</body>
</html>

a+
0