Forum Moderators: open
I ended up resorting to left aligned solution, and then added a color fade to right side to use the empty space on higher resolutions.
Why can't CSS have <div style="position:center">?
Maybe an oversight?
Maybe in the next version?
Who knows! :)
I believe that setting margin-left:auto and margin-right:auto (along with setting a width for the div) "should" do the trick in a browser that supports standards perfectly. But that's certainly not what we have at present.
Even instructions as simple as margin-left:20% margin-right:20% do not result in centered content on Explorer. The right margin is always bigger than the left margin. Trying to set the padding is even worse.