开发者

Page centred in ie 6

开发者 https://www.devze.com 2023-01-30 05:32 出处:网络
This is starting to give me a headache开发者_如何学Python, so thought I would ask for anyones input and hopefully save my eye-balls the on-going pain.

This is starting to give me a headache开发者_如何学Python, so thought I would ask for anyones input and hopefully save my eye-balls the on-going pain.

We have created a website, mainly using x-Cart, the whole site should be centred which works fine on every browser apart form that old favourite ie6.

I have looked over and over the CSS while also double checking the encoding and charset...

Any help on this welcome:

http://www.monityre.com/?shopkey=123456


This is the reason why it doesn't work:

<?xml version="1.0" encoding="iso-8859-1"?>

The XML declaration is triggering quirks mode in IE6. Just remove it, and it'll work.


Try setting text-align:center; to the body style, and text-align:left; in div "page-container".


Your page doesn't pass W3C validation for some reason (even IETester's Debug Bar sees something wrong with that piece of code).

Also, try removing "position:relative" from the first div.

Also, is there a reason why the menu goes after the content in your HTML, and that the menu is positioned absolute?

0

精彩评论

暂无评论...
验证码 换一张
取 消