/scripts/ahub.form.attachments.js
0

Sap Design Studio - Crosstab dynamic column width with css

Nov 11, 2016 at 07:33 PM

131

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers

Skip to Content