The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Apply background color to every 1+2 and 3+4 on hover
If you want a pure css solution:
http://www.codepen.io/wolfcry911/full/dqcIn
This is with a definition list instead of table, which is more semantic in my view. Perhaps you can customize the CMS’ output? If not, a similar solution may be possible with table cells.
@wolfcry911 : nice work ;)
@wolfcry911 Nice work! This works perfectly! I adjusted the CSS a bit to make it responsive. Thanks a lot!
Well, so much for “Yes it HAS to be a table, as for the table is being filled by a CMS.“….. ;)
@Senff lol it just could’nt be done that way with CSS, so I convinced the back-end developer to change the PHP template :D