mardusi
Mitglied
Hallo,
bin gerade dabei eine Navigationleiste zu basteln die mit CSS Elementen gestückt wird. Sobald ich dieses aber mache wird die Tabelle untereinander angesagt statt nebeneinander.
Wenn ich dieses nur mit Text mache dann funktioniert es
bitte um rat weil ich nicht mehr weiter weiß
bin gerade dabei eine Navigationleiste zu basteln die mit CSS Elementen gestückt wird. Sobald ich dieses aber mache wird die Tabelle untereinander angesagt statt nebeneinander.
Wenn ich dieses nur mit Text mache dann funktioniert es
bitte um rat weil ich nicht mehr weiter weiß
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Unbenanntes Dokument</title>
<style>
.home, .home:visited {
background-image:url(http://www.downtownraiderz.de/images/home.png);
width:100px;
height:20px;
display:block;
border-style: none;
}
.members, .members:visited {
background-image:url(http://www.downtownraiderz.de/images/members.png);
width:100px;
height:20px;
display:block;
border-style: none;
}
.picture, .picture:visited {
background-image:url(http://www.downtownraiderz.de/images/pictures.png);
width:100px;
height:20px;
display:block;
border-style: none;
}
.workshop, .workshop:visited {
background-image:url(http://www.downtownraiderz.de/images/workshop.png);
width:100px;
height:20px;
display:block;
border-style: none;
}
.forum, .forum:visited {
background-image:url(http://www.downtownraiderz.de/images/forum.png);
width:100px;
height:20px;
display:block;
border-style: none;
}
.termine, .termine:visited {
background-image:url(http://www.downtownraiderz.de/images/termine.png);
width:100px;
height:20px;
display:block;
border-style: none;
}
.links, .links:visited {
background-image:url(http://www.downtownraiderz.de/images/links.png);
width:100px;
height:20px;
display:block;
border-style: none;
}
.home:hover, .home:active, .home:focus {
background: url(http://www.downtownraiderz.de/images/hov_home.png);
}
.members:hover, .members:active, .members:focus {
background: url(http://www.downtownraiderz.de/images/hov_members.png);
}
.picture:hover, .picture:active, .picture:focus {
background: url(http://www.downtownraiderz.de/images/hov_pictures.png);
}
.workshop:hover, .workshop:active, .workshop:focus {
background: url(http://www.downtownraiderz.de/images/hov_workshop.png);
}
.forum:hover, .forum:active, .forum:focus {
background: url(http://www.downtownraiderz.de/images/hov_forum.png);
}
.termine:hover, .termine:active, .termine:focus {
background: url(http://www.downtownraiderz.de/images/hov_termine.png);
}
.links:hover, .links:active, .links:focus {
background: url(http://www.downtownraiderz.de/images/hov_links.png);
}
</style>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="home"> </td>
<td class="home"> </td>
<td class="home"> </td>
<td class="home"> </td>
<td class="home"> </td>
<td class="home"> </td>
<td class="home"> </td>
</tr>
</table>
</body>
</html>