python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Set html td width based on variable
I currently have a p-table in my html which loops through a list of categories and creates the colspan based on how many categories there are:
<ng-container *ngFor="let category of...
Pippa97
Votes: 0
Answers: 1
How to shrink width of all but one table cell (<td>)?
I have researched this and the solutions I have found, like this one use
table {
table-layout: auto;
}
However, I need
table {
table-layout:fixed;
width:100%;
}
because it is the only thing ...
Chiwda
Votes: 0
Answers: 0
How to make odd and even background visible on print?
How expert like you would you code an odd & even's tr background to be visible for print.
I tried without success to !important them in @media print
@media print {
table > tr:nth-chil...

JeanCharles Amey
Votes: 0
Answers: 1