Benutzer:Patrick Oberdoerfer/Bautechnik/Lernfeld NULL
Aus ZUM Projektwiki
Test Tabelle
1 | 2 | 3 | 4 | 5 |
---|---|---|---|---|
b | c | d | e | |
1b | 2c | 3e | 4n | 5h |
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> /* Tabellenstil */ table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid #ddd; text-align: center; padding: 8px; }
th { background-color: #f4f4f4; }
/* Bilder skalieren */ img { max-width: 100%; height: auto; display: block; }
/* Responsivität */ @media screen and (max-width: 768px) { table, th, td { display: block; width: 100%; } th, td { text-align: left; padding: 10px; } } </style>
</head> <body>
<thead> </thead> <tbody> </tbody></body> </html>
NEUER VERSUCH
<style>
/* Tabellenstil */ table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid #ddd; text-align: center; padding: 8px; }
th { background-color: #f4f4f4; }
/* Bilder skalieren */ img { max-width: 100%; height: auto; display: block; }
/* Responsivität */ @media screen and (max-width: 768px) { table, th, td { display: block; width: 100%; } th, td { text-align: left; padding: 10px; } }
</style>
<thead> </thead> <tbody> </tbody>