Good question... I dunno what is the answer to that question. I'll do some research and get back to you if I discover an decent answer. You should email the people at iPage as they probably know..
I've used this method to centre the iPage site for my oscommerce site, but it doesn't centre it in Internet Explorer, it looks fine in Firefox though. Can anyone tell me how I can use this method but so that it centres in internet explorer also???..
Margin: 10px auto 10px auto;.
Well my stylesheet actually looks like that at the moment after a few modifications I made the other day..
Width: 900; margin: auto;.
Border: 1px solid #000000;.
Width: 900; margin: auto;.
Border-left: solid 1px #000;.
Border-right: solid 1px #000;.
Border-top: solid 1px #000;.
I have two div tables, one just for the header and one for everything else, and as you can see with the above code I have modified them slightly, but it doesn't seem to be working in internet explorer atall...
Often people say they did things, they did`nt, I dont know why..
Fimble said, add to the body tag: text-align: center; did you do that really?..
I had this problem too,.
Your CSS for the Center Div seems to be fine, you only need 1 div element, someone helped me with this all you do is find where your table starts in header.php then end it in footer.php (i assume you have done this..
Now what you may have not done is put text-align:center in the body CSS heading this will make it work in internet explorer, you need it to either say center or left I cant remember..
That will do it for ya, change as needed...
And they will say they didn't do things, when they did. Must be something to do with taking responsibility for their actions...
Just to clear up, I did actually do what was done before but there was no difference, for some reason once I replaced a few lines from an original file it worked, so it looked like I mis typed something..
The reason I have two DIV tables is because I wanted to completely seperate them so I could have seperate values for the header and body - for instance putting a background image in css class for the header, and a seperate one for the body. Also where borders are concerned, I wanted to close off the borders with different widths and styles for both..
This post has been edited by.
: 08 July 2008, 19:12..
Thanks for being honest about your error, too often people have errors they blame on the software or anything else, they can cause long threads yet just go silent once they twig..
For your info, it's the text-align:center; in the body tag that ie obeys, thats why I thought you had'nt done it..
Others including firefox obey the one in the div..
If you have trouble with css, firefox has some nice tools to check, if it doesnt show the css you put look for errors in your code...
I just wanna thank you guys for this post...i wanted to do the same thing, have done what you;ve said int he first replies and it worked from the first try..
Hey that's pretty neat..
Do you mean like ; Console2 0.3.9.1 - (.
Would it identify errors that occur so that it would be cross browser compatible?..
No, I`m talking about 'Web Developer', I don't believe it would show any cross browser problems...