Browser Problems
Hi all,
I'm having a bit of a nightmare with the following
site. It's a case of IE V NS - in IE the site looks
as it should but in NS it loses 3 of the 4 boxes on the
left hand side. I'm not a professional at this and have
got pretty stuck! I've run one of those HTML validators
and apart from it throwing a few wobblies with the java
scripts everything else seems ok. I can't see it being
the javascript but don't know where else to look.
Any ideas or help would be greatly appreciated.
BTW the site went live last week.
here's the url: http://www.uknation.co.uk
Any thoughts, or suggestions re the site would be
welcomed.
Thanks in advance
Steve
Suzanne posted this at 03:46 — 4th December 2000.
She has: 5,507 posts
Joined: Feb 2000
1. you have JavaScript between tags (must be in the HEAD or at least within the HTML tags)
2. you have the HEAD *before* the HTML (which means it's so invalid, I surprised IE renders it. Even Netscape 6 just crashed.)
3. you have hex values for bgcolors without using the # in front of them (#000000, not 000000)
4. you have no alt attributes in your IMG tags
5. you have the FORM tag directly after a TABLE tag (no TR, no TD), which is *again*, a SERIOUS nesting error.
6. "email()"onMouseOver="wind" -- you are missing a space
7. some comments aren't closed (probably from your generator, from the looks of them).
I can't say any more because my validator quit because there were too many errors to continue.
I really, really, really recommend you fix your code. At the very least, learn the proper HTML structure:
<script type="text/javascript"></script>
<script type="text/javascript"></script>
JavaScript should go in the HEAD tag so it can be used throughout the page. It can also be used for singular instances within the BODY tag. It shouldn't be outside the HTML tags *ever*.
Suzanne
AndyB posted this at 03:53 — 4th December 2000.
They have: 344 posts
Joined: Aug 1999
Quick tip - edit a copy of the code and globally change all the table border=0 to border=1. Then take a look at where your table rows and cells actually are.
It is pretty weird that it renders OK with an obvious 'missing' something:)
myriad posted this at 08:58 — 4th December 2000.
They have: 88 posts
Joined: Mar 1999
Suzanne,
Thanks for the points - I know about 1 & 2 - I forgot
to change them back after moving them around and testing
again. I'll move them back again.
I'll check the alt tags/colour thing.
Number 5 would be the only thing that I would
think would cause the problem that i'm getting
- what do you think?
BTW the Netmechanics validator didn't pick up any
of the points apart from no.5 - although as I say
1 & 2 were because I forgot to change things back again.
Thanks again for your help and more ideas anyone?
Steve
Suzanne posted this at 20:13 — 4th December 2000.
She has: 5,507 posts
Joined: Feb 2000
http://www.htmlvalidator.com
http://validator.w3.org
Try a real validator. Fix the problems that are there first. When they are resolved, and the code is valid, if you still have an issue, we can troubleshoot then.
I'm quite serious. Asking for more help at this point is asking people to deal with crap they don't need to see. Clean it up and then try again.
Suzanne
myriad posted this at 15:31 — 5th December 2000.
They have: 88 posts
Joined: Mar 1999
Many thanks for the info re the HTML validator.
I worked out what the problem was - the validators
didn't pick it up but showed up some other things
which pointed to it in the end.
All the other things that you mentioned have now also
been resolved and quite a few that Netmechanic didn't
pick up either. I will recommend htmlvalidator from
now on
thanks again for all your help.
Steve
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.