Answers for "vertical align td in table cell"

CSS
0

table td data in middle

vertical-align: middle
Posted by: Guest on November-26-2020
-1

html vertical text in table cell

.verticalTableHeader {
    text-align:center;
    white-space:nowrap;
    transform-origin:50% 50%;
    transform: rotate(90deg);

}
.verticalTableHeader:before {
    content:'';
    padding-top:110%;/* takes width as reference, + 10% for faking some extra padding */
    display:inline-block;
    vertical-align:middle;
}
Posted by: Guest on October-02-2021

Code answers related to "vertical align td in table cell"

Browse Popular Code Answers by Language