- Joomla Version
- 5.x
- PHP Version
- PHP 8.2.x
- Hoster
- allinkl
- Link (URL) zur Seite mit dem Problem
- https://www.handysalon.org
Ich habe mal eine Frage zur Formatierung von H1. Ich würde gerne in meinen Tabellen das Tag H1 anders formatieren als der Standard. Dazu habe ich mal versucht das in css einzubringen.
Aber irgendwie kann ich den Titel nicht vertical zentrieren. Bin für jede Hilfe dankbar. Vielen Dank
Code
Mein HTML von meiner Tabelle
<table class="content">
<tbody>
<tr>
<th colspan="2" scope="rowgroup">
<h1 class="content">TSV 1901 Stettfeld test</h1>
</th>
</tr>
<tr>
Mein css Code:
table.content th {
border: 0px solid white;
border-top-left-radius:9px;
border-top-right-radius:9px;
border-spacing: 0px;
font-family: arial, sans-serif;
font-size: 12px;
color: #1B3602;
background-color: #a9c186;
height: 25px;
text-align: left;
padding-top: 4px;
padding-bottom: 0px;
padding-left: 5px;
}
h1.content {
font-family: impact, sans-serif;
font-size: 14px;
}
Alles anzeigen