Help - Search - Members - Calendar
Full Version: I really need help
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
edoplaza
Hello,

Why this pages:

http://www.laht.com/whoswho.asp?ArticleId=...ategoryId=13973

http://www.laht.com/Contacts.asp

http://www.laht.com/help.asp

Look ok in IE, and wrong in Firefox

I didn't built the site, I just added the Google Adsense banners. Now it's a mess...

I would really apreciate some help

Bye

Eduardo
Darin McGrew
Our online validator reports syntax errors:
http://htmlhelp.com/cgi-bin/validate.cgi?u...mp;warnings=yes

Also, the lack of a doctype declaration throws modern browsers into quirks mode. See:
http://hsivonen.iki.fi/doctype/
edoplaza
Yes, I know, more than 600 errors on the html validator. The code is 5 years old, and it's been a nightmare to me. I'll never accept a job like that again...

Regards

Eduardo
edoplaza
Hello again,

My job with this page is pretty much done, I was in charge to put the ad banners, and to fix some issues with Google Analytics. So, the new site will be not my problem.

The only issue I need to solve is the Firefox extra margin.

Look at this pages:


http://www.laht.com/Contacts.asp

http://www.laht.com/help.asp

In IE they look ok, in firefox (and chrome), there is a top margin. Why?

Please, any help will be appreciated

Cheers,

Eduardo
Darin McGrew
Well, it doesn't help that you have no doctype declaration, which throws modern browsers into quirks mode. See:
http://hsivonen.iki.fi/doctype/

And you've got style sheets with link elements in the body element. The link elements belong in the head element, in addition to all the other markup errors.

You've got a mess of nested layout tables. Turn on table borders so you can see what's going on with the structure. When you figure out the problem, you can turn off the borders.
edoplaza
Hi,

Someone already find the answer:

There were some valign tags not defined, something like:

<td height="10" colspan="3" align="top" valign>

That causes an error in FF, but, inexplicably not in IE.... (for once)

I know the site is a mess, but it's not my mess... smile.gif I'm just trying to help the poor owner of the site.
As I said before, I'll never do that again, I mean, repair an old, clunky, messy website. I usually validate all my pages, and I never use tables for layout.

Thanks

Eduardo
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.