Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about css-tables

Read more about css-tables

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)

Questions - css-tables

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...
test-img

Pippa97

html

css

css-tables

Votes: 0

Answers: 1

Latest Answer

Use ngClass. Define your classes: w-200: { width: 200px; } w-400: { width: 400px; } // etc Then in your template add ngClass and a configuration object. <th [attr.colspan]="category.colu...
test-img

The Head Rush

How to shrink width of all but one table cell (&lt;td&gt;)?

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 ...
test-img

Chiwda

css

word-wrap

css-tables

tablecell

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...
test-img

JeanCharles Amey

css

printing

html-table

css-tables

Votes: 0

Answers: 1

Latest Answer

Thanks What works to allow the rest of the code to work was this : @media print { body { -webkit-print-color-adjust: exact; } }
test-img

JeanCharles Amey

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved