Forum Discussion
_anomDiebolt_
7 years agoQrew Elite
I don't know exactly what you did because you did not post any code but I can give you an understanding of why these white gaps appear. Using CSS QuickBase uses white borders on the <table> elements used to layout a section. This is a bit unusual and can be difficult to detect as most of the time table cell borders are black or some other visible color.
So you have to set the background-color on the table and the border-color for the cells:
So you have to set the background-color on the table and the border-color for the cells:
$("table.formSection").css("background-color", "yellow");
$("table.formSection tr td").css("border-color", "yellow");
_anomDiebolt_
7 years agoQrew Elite
> if I set the background color on the table and the border color for the cell, the background color will be filled for the whole form which I don't want it to be
You just have to qualify which table section you want to modify by providing an appropriate selector:
I don't know what <selector> should be as it would be specific to your form.
You just have to qualify which table section you want to modify by providing an appropriate selector:
$("<selector> table.formSection").css("background-color", "yellow");
$("<selector> table.formSection tr td").css("border-color", "yellow");
I don't know what <selector> should be as it would be specific to your form.