derekjackson
03-01-2006, 07:02 AM
Hi,
to centre my main site content, I've been using a style for the overall site DIV of:
margin-left: auto; margin-right: auto; margin-bottom: auto; padding: 0px;
position: relative;
This works fine on most browsers - the content sits centrally. However, on IE5 it sits at the left. Is my method only supported by IE 6 and above? If so, is there another way to achieve the same result on IE5?
to centre my main site content, I've been using a style for the overall site DIV of:
margin-left: auto; margin-right: auto; margin-bottom: auto; padding: 0px;
position: relative;
This works fine on most browsers - the content sits centrally. However, on IE5 it sits at the left. Is my method only supported by IE 6 and above? If so, is there another way to achieve the same result on IE5?