h1, h2, h3, h4 {
padding: 5px 0px 5px 25px;
display: list-item;
margin-left: 20px;
}
h1 {
list-style-image:url('lib/img/h1.gif');
}
h2 {
list-style-image:url('lib/img/h2.gif');
}
h3 {
list-style-image:url('lib/img/h3.gif');
}
h4 {
list-style-image:url('lib/img/h4.gif');
}
Dieses Beispiel stammt aus dem Buch Barrierefreiheit verstehen und umsetzen.