![]() | | ||||||||
| | #1 |
| Active Warrior Join Date: Oct 2009
Posts: 34
Thanks: 14
Thanked 1 Time in 1 Post
|
Hi all, I'm new to this forum but have heard great things about it from other marketers. Anyway, I have some web page alignment issues that are doing my head in!! ![]() I was hoping somebody could help me out! The problem im having is that every time I view my web pages in IE8 my page is aligned to the left but I want it to be centered in all browsers. Its fine in Firefox! If somebody could take a look I would be very grateful. My problem page is; EatGreatToLoseWeightDietPlan.com/slimming-dieting I'm sure that to most of you guys this will be easy but to me its borderline Rocket Science. Thanks in advance guys! Wayne |
| | |
| | #2 |
| Active Warrior War Room Member Join Date: Oct 2009
Posts: 34
Thanks: 0
Thanked 4 Times in 4 Posts
|
Hi Wayne, Apparently this is quite a common problem in IE8 and can be solved by starting the source code of your page with a complete and valid doctype which needs to be the very first thing on the website (before the usual <html> tag). This doctype is essential for valid HTML/XHTML documents so it could be that causing the problem. Try inserting this line of code right at the top of your source code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Hopefully that'll catch the error. |
| Looking for high-quality stock photos? ask4Photos.com is a stock photo gallery providing digital images of a very high standard. Visit ask4Photos.com and feast your eyes on our extensive collection of reasonably priced stock photos. | |
| | |
| | #3 |
| Active Warrior Join Date: Oct 2009
Posts: 34
Thanks: 14
Thanked 1 Time in 1 Post
|
Thanks for the pointer, but unfortunately it didn't work. My nightmare continues!!!! |
| | |
| | #4 |
| The Scarecrow War Room Member Join Date: Sep 2008
Posts: 189
Thanks: 1
Thanked 15 Times in 15 Posts
|
Replace this: <body style="background-color: rgb(153, 153, 153);"> <table style="width: 760px; text-align: left; margin-left: auto; margin-right: auto;" class="border" border="0" cellpadding="0" cellspacing="0"> With this: <body style="background-color: rgb(153, 153, 153); width: 760px; margin-left: auto; margin-right: auto;"> <table class="border" border="0" cellpadding="0" cellspacing="0"> |
| Need a webmaster to install, configure or transfer your website or blog? Click here to see what I am offering. | |
| | |
| | #5 |
| Warrior Member Join Date: Oct 2009
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
|
hi why this problem? |
| | |
| | |
| | #6 |
| Advanced Warrior War Room Member Join Date: Feb 2008 Location: Escondido, CA. Becase San Marcos just wasn't hot enough.
Posts: 510
Thanks: 35
Thanked 56 Times in 55 Posts
|
You just need to change the body tag: <body style="background-color: rgb(153, 153, 153); text-align:center;">
|
| | |
| | #7 |
| The Scarecrow War Room Member Join Date: Sep 2008
Posts: 189
Thanks: 1
Thanked 15 Times in 15 Posts
| |
| Need a webmaster to install, configure or transfer your website or blog? Click here to see what I am offering. | |
| | |
| | #8 |
| Advanced Warrior War Room Member Join Date: Feb 2008 Location: Escondido, CA. Becase San Marcos just wasn't hot enough.
Posts: 510
Thanks: 35
Thanked 56 Times in 55 Posts
|
Works on my system.
|
| | |
| | #9 |
| Active Warrior Join Date: Oct 2009
Posts: 34
Thanks: 14
Thanked 1 Time in 1 Post
|
OK, I will definitely try this and report back. Thanks guys! |
| | |
| | #10 |
| Active Warrior Join Date: Oct 2009
Posts: 34
Thanks: 14
Thanked 1 Time in 1 Post
|
Hi guys, Poglia, I tried what you suggested and it worked on a different web page I also had a problem with but not the the one I mentioned in this post. Aronya, I tried your way and it works on the page I've mentioned above, Harrraaa!! Thanks a lot guys I really appreciate your input with this, you've been a massive help. All the best, A now happy, wayne |
| | |
![]() |
|
| Tags |
| alignment, explorer, internet, problems, webpage |
| Thread Tools | |
| |
![]() |