How to Extend Background Color Across the Entire Row in My Opening Hours Table?
How can I modify my code so that the green background color covers the entire row for the selected day (like Tuesday in the example)? Because now there are white space gaps. Here's a link to the CodePen: https://codepen.io/lccua/pen/LYwWBjd
lccua
CodePen
Shop Opening Hours
Highlights current day and shows if shop is currently open or closed...
8 Replies
theres some property on the table , i believe its
border-collapse: collapse
but i could be wrong@clevermissfox wow thank you so much, i have been searching for a while
Is there another property needed? Width:100% on the table nor the tr is getting rid of the borders in bw columns
No. The width of the table is irrelevant here.
All that is needed is
border-collapse: collapse
as you suggested.: didnt saw OP wanted to remove gap between cols.... my bad
is there a possiblity to make the border color green
at least that part specifally?
You should be able to add a border just as you would to any other HTML element
ok tnx