Home › Forums › CSS › How best to centre each cell’s content within a column › Re: How best to centre each cell’s content within a column
Thanks for the response. Your code certainly works. But there are 3 (# columns) * 3 (# possible alignments). You have two of them and two sets of CSS. I see this as potentially growing over time
You’re right in that much of my CSS wasn’t required for the trivial example given. What I should have said was that same CSS would cope with up to 3*4 possible alignments of up to 4 columns.
Clear as mud?! BTW that was my first foray into CodePen – or anything like it. As with all things Coyier it’s darned good!