WebSite X5Help Center

 
Thomas K.
Thomas K.
User

Tabellenbreite per CSS  de

Autore: Thomas K.
Visite 1646, Followers 1, Condiviso 0  

Ist es möglich die Breite eines Tabellenojektes per CSS auf einen prozentualen Wert fest zulegen?

Postato il
2 RISPOSTE - 1 UTILE
Andreas S.
Andreas S.
Moderator

Im Prinzip schon.. kommt darauf an was du vorhast?

z.B.

table {    box-sizing: border-box;    width: 100% !important;}

Leggi di più
Postato il da Andreas S.
Thomas K.
Thomas K.
User
Autore

Vielen Dank Andreas, das war genau das nach was ich gesucht hatte. Das Tabellenobjekt bietet für das responsive Design, ja nur die Möglichkeit es horizontal zu scrollen. Für meine zweispaltige Tabelle ist es allerdings besser wenn diese sich der Breite anpasst.

Leggi di più
Postato il da Thomas K.