Moderator: lauras
Kompromisse sind aber doof.yamram hat geschrieben:Ich habe das jetzt anders geregelt -> Tabelle. Aber Danke trotzdem
Ansonsten musst du eine Tabelle nehmen.
<!DOCTYPE html>
<html>
<head>
<title>
TEST
</title>
<style type="text/css">
body {
padding: 100px;
background: #1f7fbb;
}
ul {
background: #3e3e3e;
color: #ffff00;
vertical-align: middle;
padding: 40px;
}
ul li {
list-style: url(images/files/file_extension_png.png);
background: #aaaaaa;
border: 1px solid lime;
margin: 10px;
}
</style>
</head>
<body>
<ul>
<li>Eins</li>
<li>Zwei</li>
<li>Drei</li>
<li>Vier</li>
<li>Fünf</li>
</ul>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>
TEST
</title>
<style type="text/css">
body {
padding: 100px;
background: #1f7fbb;
}
ul {
background: #3e3e3e;
color: #ffff00;
padding: 40px;
}
ul li {
list-style: none;
background: url(images/files/file_extension_png.png) top left no-repeat;
margin: 10px;
padding: 2px;
}
</style>
</head>
<body>
<ul>
<li>Eins</li>
<li>Zwei</li>
<li>Drei</li>
<li>Vier</li>
<li>Fünf</li>
</ul>
</body>
</html>
Zurück zu HTML - xHTML - HTML5
Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast