I have a table that is dynamically created in javascript.
EDIT: Sample code to create a table here :
I need to add a gap between two columns (e.g. 50px). I read that the best way is to add a registration to the right of the first column, but I'm not sure how to add spacing to the first column in javascript using the table class name?
I added CSS to the original answers like this:
.informationWindowTable > tr > td:first-child {padding-right:50px;}
but it does not apply to the table, and so I asked for a solution in javascript. How to ensure that CSS is called only after the table is created?
source
share