moin moin,
weis nich ob das hier richtig ist, falls nich bitte nach css veschieben.
Ich hab mir ne seite gebastelt als projekt für informatik damit ich ne 1 kriege und ich bin nun fast fertig aber ein problem gibts da noch. die .css sieht so aus:
und die html so:
Im firefox und Opera geht das wunderbar aber im IE gehts nich auser in der neuen 8 Beta.
Da ich davon wirklich nicht viel Ahnung habe bitte ich euch einfach nen codeschnipsel so zu ändern das es gehen würde sonst versteh ich das wieder nich:cry:
thx im voraus
weis nich ob das hier richtig ist, falls nich bitte nach css veschieben.
Ich hab mir ne seite gebastelt als projekt für informatik damit ich ne 1 kriege und ich bin nun fast fertig aber ein problem gibts da noch. die .css sieht so aus:
HTML:
#arbeitsspeicher a {
height: 24px;
width: 130px;
display: table-cell;
background: url("../buttons/Arbeitsspeicher.png") 0px 0px no-repeat;
}
#arbeitsspeicher a:hover {
background-position: 0px -24px;
}
#prozessor a {
height: 24px;
width: 130px;
display: table-cell;
background: url("../buttons/Prozessor.png") 0px 0px no-repeat;
}
#prozessor a:hover {
background-position: 0px -24px;
}
#grafikkarte a {
height: 24px;
width: 130px;
display: table-cell;
background: url("../buttons/Grafikkarte.png") 0px 0px no-repeat;
}
#grafikkarte a:hover {
background-position: 0px -24px;
}
#festplatte a {
height: 24px;
width: 130px;
display: table-cell;
background: url("../buttons/festplatte.png") 0px 0px no-repeat;
}
#festplatte a:hover {
background-position: 0px -24px;
}
#laufwerke a {
height: 24px;
width: 130px;
display: table-cell;
background: url("../buttons/Laufwerke.png") 0px 0px no-repeat;
}
#laufwerke a:hover {
background-position: 0px -24px;
}
#mainboard a {
height: 24px;
width: 130px;
display: table-cell;
background: url("../buttons/Mainboard.png") 0px 0px no-repeat;
}
#mainboard a:hover {
background-position: 0px -24px;
}
#netzteil a {
height: 24px;
width: 130px;
display: table-cell;
background: url("../buttons/Netzteil.png") 0px 0px no-repeat;
}
#netzteil a:hover {
background-position: 0px -24px;
}
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>navi</title>
<link href="rollover.css" type="text/css" rel="stylesheet" />
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<meta name="generator" content="Webocton - Scriptly (www.scriptly.de)" />
</head>
<body bgcolor="#0F1C29">
<br /><br /><br />
<table border="0" cellpadding="2" cellspacing="2" summary="" width="200">
<tr>
<td>
<div id="arbeitsspeicher">
<a href="arbeitsspeicher.htm" target="main"></a>
</div>
</td>
</tr>
<tr>
<td>
<div id="prozessor">
<a href="prozessor.htm" target="main"></a>
</div>
</td>
</tr>
<tr>
<td>
<div id="grafikkarte">
<a href="grafikkarte.htm" target="main"></a>
</div>
</td>
</tr>
<tr>
<td>
<div id="festplatte">
<a href="festplatte.htm" target="main"></a>
</div>
</td>
</tr>
<tr>
<td>
<div id="laufwerke">
<a href="laufwerke.htm" target="main"></a>
</div>
</td>
</tr>
<tr>
<td>
<div id="mainboard">
<a href="mainboard.htm" target="main"></a>
</div>
</td>
</tr>
<tr>
<td>
<div id="netzteil">
<a href="Netzteil.htm" target="main"></a>
</div>
</td>
</tr>
</table>
</body>
</html>
Da ich davon wirklich nicht viel Ahnung habe bitte ich euch einfach nen codeschnipsel so zu ändern das es gehen würde sonst versteh ich das wieder nich:cry:
thx im voraus