16 nov 2013 kl. 01.23 skrev David Hucklesby: > Glad you got some JavaScript that works, Sara. Here's Chris Coyier's solution: > > <http://css-tricks.com/absolutely-position-element-within-a-table-cell/>
Great! This is what I imagined as a potential start point for a solution, However, To forego one working javascript solution for a HTML & CSS combo and use javascript to avoid unnecessary elements is not elegant. I'd rather use an extra element or use another type of solution. I maintain that if you feel you need 2 elements inside a table cell you potentially may have a design smell and really should ask yourself what the content is that you are marking up. If you do have one content element inside a cell that needs to be presented visually separated from the rest of the cell content, then what would be so bad having a structured content inside the cell and use Chris Coyier's solution without javascript on that? Also, you don't have to wrap content with Divs specifically. ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/