CSS - center an oversized div inside a table cell which is too small
- by domspurling
I want to display a DIV inside a table cell which is too narrow for it. I'm using overflow:hidden to allow the div to spill out one side of the table cell but now I want to center it so that it spills out a wee bit on both sides insdead of alot on one side.
How do I horizontally center a DIV inside a TD which is too narrow for the DIV?