у меня есть это тело и CSS для раздела #content:CSS таблица не изменит высоту
section#content {
\t background-color: #ffffff;
\t box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15) inset;
\t color: #444;
\t display: table-cell;
\t padding: 7px 18px 21px;
\t vertical-align: top;
\t width: 617px;
\t display: table-cell;
\t vertical-align: top;
}
section#content .table {
\t border-radius: 5px;
\t border-top-left-radius: 0px;
\t border-top-right-radius: 0px;
\t background-clip: padding-box;
\t border: 1px solid #d5d5d5;
\t display: table;
}
section#content table.table {
\t border-spacing: 0;
\t width: 100%;
}
section#content table.table td {
\t background-color: #f4f4f4;
\t padding: 7px;
\t text-align: left;
\t vertical-align: middle;
\t word-break: break-word;
\t transition-property: background;
\t transition-duration: 0.1s;
\t transition-timing-function: linear;
}
section#content table.table tr:nth-child(even)>td {
\t background-color: #ebebeb;
}
section#content table.table th {
\t background-color: #ebebeb;
\t border-bottom: 1px solid #d0d0d0;
\t border-right: 1px solid #d0d0d0;
\t background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
\t color: #444444;
\t font-weight: normal;
\t box-shadow: 0 0 0 1px #FFFFFF inset;
}
section#content .playerTableBackground {
\t background-attachment: scroll, scroll, fixed;
background-image: url("pageBG.jpg");
background-position: center top, center bottom, center top;
background-repeat: repeat-x, repeat-x, repeat-x;
background-size: auto auto, auto auto, cover;
}
<body style="background: none">
\t <section id="content">
\t \t <noscript>
\t \t \t <div class="messagebox error">
\t \t \t \t In deinem Webbrowser ist JavaScript deaktiviert.<br />Um das
\t \t \t \t Ticketsystem nutzen zu können, muss JavaScript aktiviert sein.
\t \t \t \t Andernfalls ist beispielsweise das Antworten auf Tickets nicht
\t \t \t \t möglich.
\t \t \t </div>
\t \t </noscript>
\t \t <div class="playerTableBackground">
\t \t \t <table id="playerTable" class="table" style="opacity: 0.9;">
\t \t \t \t <thead>
\t \t \t \t \t <tr>
\t \t \t \t \t \t <th>Name</th>
\t \t \t \t \t \t <th>Sozialer Status</th>
\t \t \t \t \t \t <th>Spielzeit</th>
\t \t \t \t \t \t <th>Telefon</th>
\t \t \t \t \t \t <th>Fraktion</th>
\t \t \t \t \t \t <th>Freundschaft</th>
\t \t \t \t \t \t <th>Ping</th>
\t \t \t \t \t </tr>
\t \t \t \t </thead>
\t \t \t \t <tbody class="playerTableBody">
\t \t \t </table>
\t \t </div>
\t </section>
</body>
я могу изменить только высоту DIV, но ни один стол или TBODY. У вас есть решения?
Ваш CSS не пытается установить высоту ничего –
Что вы пытаетесь сделать это не работает? Я не знаю, каков ваш вопрос. – j08691
Обычно высота не работает над элементом до его назначения. – coderodour