![]() |
| ||||||||
|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
Warrior Member
Join Date: Oct 2009
Posts: 15
Thanks: 12
Thanked 0 Times in 0 Posts
|
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: 35
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.
|
|
|
|
|
| The Following User Says Thank You to Bex7175 For This Useful Post: |
|
|
#3 |
|
Warrior Member
Join Date: Oct 2009
Posts: 15
Thanks: 12
Thanked 0 Times in 0 Posts
|
Thanks for the pointer, but unfortunately it didn't work.
My nightmare continues!!!! |
|
|
|
|
|
#4 |
|
The Scarecrow
War Room Member
Join Date: Sep 2008
Posts: 147
Thanks: 1
Thanked 11 Times in 11 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"> |
|
|
|
|
|
|
| The Following User Says Thank You to Poglia For This Useful Post: |
|
|
#5 |
|
Warrior Member
Join Date: Oct 2009
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
|
hi
why this problem? |
|
|
|
|
|
|
| The Following User Says Thank You to parsfa For This Useful Post: |
|
|
#6 |
|
HyperActive Warrior
War Room Member
Join Date: Feb 2008
Location: Escondido, CA
Posts: 364
Thanks: 16
Thanked 38 Times in 38 Posts
|
You just need to change the body tag: <body style="background-color: rgb(153, 153, 153); text-align:center;">
|
|
|
|
| The Following User Says Thank You to Aronya For This Useful Post: |
|
|
#7 |
|
The Scarecrow
War Room Member
Join Date: Sep 2008
Posts: 147
Thanks: 1
Thanked 11 Times in 11 Posts
|
|
|
|
|
|
|
|
| The Following User Says Thank You to Poglia For This Useful Post: |
|
|
#8 |
|
HyperActive Warrior
War Room Member
Join Date: Feb 2008
Location: Escondido, CA
Posts: 364
Thanks: 16
Thanked 38 Times in 38 Posts
|
Works on my system.
|
|
|
|
| The Following User Says Thank You to Aronya For This Useful Post: |
|
|
#9 |
|
Warrior Member
Join Date: Oct 2009
Posts: 15
Thanks: 12
Thanked 0 Times in 0 Posts
|
OK, I will definitely try this and report back.
Thanks guys! |
|
|
|
|
|
#10 |
|
Warrior Member
Join Date: Oct 2009
Posts: 15
Thanks: 12
Thanked 0 Times in 0 Posts
|
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 | |
|
|
![]() |