Help with discrepancy!
I do hope someone out there can help!
I am working on a MAC OS9.2, editing HTML using BBEdit Lite and viewing through Internet Explorer, transferring using Cute FTP.
One of the pages on my website is misaligned, indicating a problem with the tables.
When I view the document locally on my computer, it's perfect. I uploaded that document this morning, replacing the old one that (I assumed) was faulty. However, the new remote file is just like the old one: misaligned.
What can possibly cause this discrepancy between a file viewed locally and the same file viewed across the web?
The rest of the website, which uses the same table format, is all fine.
I do hope someone out there can help.
Many thanks in advance for your time and trouble.
Regards,
Seagoat, London.
timjpriebe posted this at 12:59 — 19th April 2005.
He has: 2,667 posts
Joined: Dec 2004
Sounds like a weird problem. Normally, when I upload a file, then check it and the old one is there, not the new one, I find that I've accidentally uploaded it in the wrong place. Is that a possibility?
I guess the main question is whether the remote file you're viewing has code that matches up with the local file you're viewing. I would start by checking that, if you haven't already.
Tim
http://www.tandswebdesign.com
Busy posted this at 21:50 — 19th April 2005.
He has: 6,151 posts
Joined: May 2001
Your home computer is run differently than a server, so the displays can be different.
Your computer will usually work in quirks mode unless otherwise set, so in other words it guesses what you want, where as the server has a different level of quirkiness.
Also when you upload new stuff you might still actually be seeing the old one - server cache. Most web page things get cached twice, once by your computer and once by your ISP's, a normal 'refresh' wont usually refresh both caches so a server refresh (ctrl F5) is often needed.
As for the alignment problem, can you show us the URL? much easier than guessing the problem, but usually the align= is in the wrong place, align="center" in a TD will only align the contents, in a TR will only align the row, in the TABLE tag will align the whole table. Two 50% width tables side by side will go underneath of eachother unless cellpadding, cellspacing and all body margins are set to 0
seagoat posted this at 17:04 — 25th April 2005.
They have: 3 posts
Joined: Apr 2005
Thanks for your input guys - I've still had no luck righting the discrepancy.
The url is
http://www.mandcventures.co.uk/sector/index.html
If you click on any other page on the site you'll see how the headers and footers etc should be appearing.
I'm baffled!
Many thanks again,
Seagoat
Busy posted this at 22:16 — 25th April 2005.
He has: 6,151 posts
Joined: May 2001
looks like you're missing a tag somewhere, have you run the index through the validator? if not I'd suggest you do that next as it looks like it's missing an end table tag somewhere, or could just be you missed a 'colspan=...' out or not enough colsums in it.
I had a quick look at your code (really to early for this kinda thing), did find your missing a tag in the copyright section, but run it through the validator.
You also have a lot wasted tables usage, the shim's are a bad idea, use the old and list aliments for the contents (as they are a list)
think I found the fault, just about the copyright table you have:
note the gap in colspan
seagoat posted this at 10:29 — 26th April 2005.
They have: 3 posts
Joined: Apr 2005
It's worked!
Thank you so very much 'busy' - I didn't realise a stray gap like that could have such an effect! I'm not very experienced with this ole HTML thang!
Many thanks to all for your help.
Best wishes,
Seagoat, London, UK
Busy posted this at 10:49 — 26th April 2005.
He has: 6,151 posts
Joined: May 2001
don't forget that other missing
the w3c.org validator is your friend
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.