css

Published on January 2017 | Categories: Documents | Downloads: 46 | Comments: 0 | Views: 416
of 1
Download PDF   Embed   Report

Comments

Content

body { text-align: center; } #page-wrap { text-align: left; width: 800px; margin: 0 auto; } As IE won t always do auto margins. Reply ? James Permalink to comment# NOVEMBER 15, 2011 Thanks! My organization has an older version of IE so the code didn t work the first go ar ound. Adding the body element worked perfectly! Merne Permalink to comment# JUNE 20, 2013 I know this is old, but you really don t need text-align: center; unless you re doin g something else wrong. IE supports margin:auto; if there is a width set to the element, and a valid docty pe. Without a valid doctype, IE enters quirks mode where auto margins fail. ?atas?e?? ?st?se??d?? Permalink to comment# JUNE 7, 2010 Upgrade IE or use mozilla Reply ? David Permalink to Upgrading IE heir systems Fixes for IE comment# JULY 12, 2010 is not an option for a lot of people. A lot of organisations lock t to that software can t be updated and new software can t be installed. generally still need to be included.

Alexander von Gluck Permalink to comment# MARCH 23, 2011 Continuing to support IE6/7 by making hacks and workarounds hurts the web indust ry you don t add compatibility stuff for 10-year old Mozilla do you?

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close