For some reason, my website won't align in the center on all browsers. Seems to be an issue is IE and also on IOS browsers http://poppyandpaige.com/blog/ Any ideas would be most appreciated!
What Anton Suggested is indeed correct, however, remember that you must also specify a width on anything you want centred. So just confirm that you do specify a width.
For some reason, my website won't align in the center on all browsers. Seems to be an issue is IE and also on IOS browsers
http://poppyandpaige.com/blog/
Any ideas would be most appreciated!
Thanks
Mark
To center an element, you can set both the left and right margins to auto. Like this:
In some older versions of IE that won't work though, so you'll have to do it like this:
Thanks for the info. I've tried what you suggested but it's still left aligned on my iPhone.
Is it anything to do with some elements having absolute positioning?
Thanks again
Mark
Thanks for the comments. I have specified the width but it still doesn't center align!
I think it's something to do with the code in the header section as if I remove the header graphics it aligns correctly!
Thanks
Mark
You have (.bg) class but apparently aren't using it except for positioning.