on 2016 Nov 11 7:33 PM
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.
Request clarification before answering.
User | Count |
---|---|
59 | |
10 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.