![]() |
|
![]() |
#1 |
![]() MOF User |
![]() Hallo,
sicherlich ein einfaches Problem, doch ich bin zu blind ![]() ![]() Ich würde gerne die Werte einer Tabellenspalte zentrieren. Die Vorgabe in colgroup mit align funktioniert in meinem Browser "IE11" nicht. (HTML-eMail geht es). Im "TD" Segment finde ich es sehr unpraktisch. (Vor allem erstelle ich den HTML dynamisch mittels meiner MSSQL-DB "FOR XML PATH('tr')") Code: <html> <body > <table width="400px"> <colgroup> <col> <col> <col> <col style="text-align:center"> </colgroup> <tr> <th width="100px">Betreff</th> <th width="100px">AAA</th> <th width="100px">BBB</th> <th width="100px">CCC</th> </tr> <tr> <td>Thema X</td> <td align="center"> 111a </td> <td style="text-align:center"> 222a </td> <td> 333a </td> </tr> <tr> <td>Thema Y</td> <td> 111b </td> <td> 222b </td> <td> 333b </td> </tr> </table> </body> </html> VIELEN DANK schon mal Grüße |
![]() |
![]() ![]() |
![]() |
#2 |
![]() Neuer Benutzer |
![]() |
![]() |
![]() ![]() |