Benutzer:Patrick Oberdoerfer/Bautechnik/Lernfeld NULL: Unterschied zwischen den Versionen
Aus ZUM Projektwiki
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung Markierung: Quelltext-Bearbeitung 2017 |
||
| Zeile 1: | Zeile 1: | ||
Test Tabelle | Test Tabelle | ||
{| class="wikitable" | {| class="wikitable" | ||
! | ! 1 | ||
! | ! 2 | ||
! | ! 3 | ||
! | ! 4 | ||
! | ! 5 | ||
|- | |- | ||
| | | a | ||
| | | b | ||
| | | c | ||
| | | d | ||
| | | e | ||
|- | |- | ||
| | | 1b | ||
| | | 2c | ||
| | | 3e | ||
| | | 4n | ||
| | | 5h | ||
|} | |} | ||
Version vom 23. Dezember 2024, 08:51 Uhr
Test Tabelle
| 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|
| a | 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>