Absolutely Position Element Within a Table Cell
Absolutely Position Element Within a Table Cell Have you ever wanted to absolutely or relatively position a table cell? Well, I can't help you there. Table cell elements just won't take those position values. And thus, you also can't absolutely position elements within the context of those elements either. I can help you out with that issue. The answer is just to make a generic wrapper element inside the table cells (the exact same size of the table cell) and use that as the relative positioning context. Non-semantic? Yep, but we'll chuck that markup in with JavaScript so it's not a big deal. Kludgy fix? You know it. Does it work? Sure does. # Before < table > < tr > < td > < img src = " yay.jpg " alt = " " > </ td > </ tr > </ table > # After < table > < tr > < td > < div class = " innerWrapper " > <!-- appen...