Benutzer:Patrick Oberdoerfer/Bautechnik/Lernfeld NULL: Unterschied zwischen den Versionen
Aus ZUM Projektwiki
Keine Bearbeitungszusammenfassung Markierung: Quelltext-Bearbeitung 2017 |
KKeine Bearbeitungszusammenfassung Markierung: Quelltext-Bearbeitung 2017 |
||
| Zeile 1: | Zeile 1: | ||
Test Tabelle | Test Tabelle | ||
{| class="wikitable" | |||
|+ Beschriftung | |||
! Überschriftszelle !! Überschriftszelle | |||
|- | |||
| Inhaltszelle || Inhaltszelle | |||
|} | |||
<!DOCTYPE html> | <!DOCTYPE html> | ||
Version vom 23. Dezember 2024, 08:48 Uhr
Test Tabelle
| Überschriftszelle | Überschriftszelle |
|---|---|
| Inhaltszelle | Inhaltszelle |
<!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>