<!DOCTYPE html>
<html>
<head>
<style>
.nl {
background-color: red;
color: white;
margin: 20px;
padding: 20px;
}
.nl td{
background-color:#8F4041;
}
.be {
background-color: white;
color: white;
margin: 20px;
padding: 20px;
td background-color:white;
}
.be td{
background-color:#13B900;
}
.de {
background-color: blue;
color: white;
margin: 20px;
padding: 20px;
td background-color:blue;
}
.de td{
background-color:#EB1216;
}
</style>
</head>
<body>
<div class="nl">
<h2>NL</h2>
<p>Nederland</p>
<td align="center">Nederland staat bekend om zijn kaas</td>
<td align="center">2e</td>
</div>
<div class="be">
<h2>BE</h2>
<p>België</p>
<td> staat bekent om zijn chocola</td>
</div>
<div class="de">
<h2>DE</h2>
<p>Duitsland</p>
<td align="center">Duitsers drinken veel bier</td>
</div>
</body>
</html>
geachte helpers....
ik wil graag 4 bij 4 of bij zes tabellen en wil elke tabel kleuren
maar dat krijg ik niet voor elkaarr
hoe moet ik dit oplossen
graag advies
<html>
<head>
<style>
.nl {
background-color: red;
color: white;
margin: 20px;
padding: 20px;
}
.nl td{
background-color:#8F4041;
}
.be {
background-color: white;
color: white;
margin: 20px;
padding: 20px;
td background-color:white;
}
.be td{
background-color:#13B900;
}
.de {
background-color: blue;
color: white;
margin: 20px;
padding: 20px;
td background-color:blue;
}
.de td{
background-color:#EB1216;
}
</style>
</head>
<body>
<div class="nl">
<h2>NL</h2>
<p>Nederland</p>
<td align="center">Nederland staat bekend om zijn kaas</td>
<td align="center">2e</td>
</div>
<div class="be">
<h2>BE</h2>
<p>België</p>
<td> staat bekent om zijn chocola</td>
</div>
<div class="de">
<h2>DE</h2>
<p>Duitsland</p>
<td align="center">Duitsers drinken veel bier</td>
</div>
</body>
</html>
geachte helpers....
ik wil graag 4 bij 4 of bij zes tabellen en wil elke tabel kleuren
maar dat krijg ik niet voor elkaarr
hoe moet ik dit oplossen
graag advies
Laatst bewerkt: