CSS for large DIV inside smaller DIV (overflow:hidden), possible to center large DIV?
I have a 100% x 500px DIV, overflow:hidden, position:relative.
Since the container DIV fills the entire screen left-to-right, I don't know what its width will be. I would like to center the interior DIV, but I can't because I don't know how many pixels to offset to make it centered.
Can this be done with a simple CSS setting? Or do I have to do something more involved, like with jQuery, to calculate its position and adjust dynamically?