avatar image
Former Member

Sap Design Studio - Crosstab dynamic column width with css

Hi experts,

I trying to make a responsive crosstab on CSS. I was able to find with the browser inspect element tool where can I customize the exact column that I need.

In order to make it responsive, i tried to place the "width" and the "colum-width"atributes with 20%, but it not responds to it. In other hand, when I place any value in pixels, it just works fine.

I tried to manipulate other atributes like "background-color" and others and it seems to respond normally.

See the CSS code below:

.table1 table:nth-child(1) tr:nth-child(2) td:nth-child(2) table:nth-child(1) tr:nth-child(1) table:nth-child(1) tr:nth-child(1) td:nth-child(1) {

background-color: green!important;

width: 90%!important;


Anyone has any idea what am I doing wrong?

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers

Skip to Content