Hallo. ich habe eine tabelle und ein hintergrundbild. nur ist es so das der style (css) der tabelle wie border und sowas nicht angezeigt wird. warum?
HTML
<html><head><title>Test</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
</head>
<body>
<img class="Backgroundi" src="img/1Background.png">
<div class="PC">
<div class="page">
<style>
.Backgroundi{
width: 100%;
height: 100%;
z-index: -1;
}
.page{
margin-top: -650px;
background-size: cover;
}
</style>
<!-- Navigation, Logo -->
<div class="navigation animated slideInDown">
<br>
<ul class="topnav">
<li><a href="index.html">Willkommen</a></li>
<li><a href="oeffnungszeiten.html">Öffnungszeiten</a></li>
<li><a href="preise.html">Preise</a></li>
<li><a href="anfahrt.html">Anfahrt</a></li>
<li><a href="impressum.html">Impressum</a></li>
</ul>
</div>
<a href="index.html"><img class="Logo animated slideInLeft" src="img/Logo.png"></a>
<br><br><br><br>
<br><br><br><br>
<style>
h1{
text-align: center;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;}
#tabelle {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 100%;
text-align: right;
z-index: 2;
}
#tabelle td, #customers th {
border: 1px solid #ddd;
padding: 8px;
z-index: 2;
}
#tabelle tr:nth-child(even){background-color: #f2f2f2;}
#tabelle tr:hover {background-color: #ddd;}
#tabelle th {
padding-top: 12px;
padding-bottom: 12px;
text-align: right;
background-color: #4CAF50;
color: white;
z-index: 2;
}
</style>
<table id="tabelle"><tr>
<td>Test</td>
<td>Test</td>
</tr></table>
</div>
</div>
</body></html>
Alles anzeigen