Just noticed my footer has disappeared on a fitness site I my working on for my son and was hoping someone could tell mewhat I am doing wrong because it is all validating in W3c and there is a clear:both; in footer css so I am stuck.

mightymeanfitness.com/location.html

ronpat
—
2014-07-17T04:33:30Z —
#2

Hi, pav.

The <object> tag is not an 'empty' tag. It should not be closed with the trailing slash, /> . It needs a </object> closing tag.

Sometimes the validator can be fooled

Cheers.

Jeff_Mott
—
2014-07-17T05:38:35Z —
#3

ronpat said:

Sometimes the validator can be fooled

Naw. We just fool ourselves. We ask the validator to check the code as if it were XHTML, but then we serve that same code over the web not as XHTML but as plain old HTML. We pretend we're using XHTML but we're really not.

pav
—
2014-07-17T05:48:49Z —
#4

ronpat said:

Hi, pav.

The <object> tag is not an 'empty' tag. It should not be closed with the trailing slash, /> . It needs a </object> closing tag.

Sometimes the validator can be fooled

Cheers.

I tried adding the full tag before I posted here and it changes nothing so still stuck unfortunately- wish it were that easy!Actually when you add full end tag W3c throws up errors regarding it haha

I think I am going to ignore the validator completely in this case with google maps and go back to the iframe to get my footer back

ronpat
—
2014-07-17T05:52:17Z —
#5

pav said:

I tried adding the full tag before I posted here and it changes nothing so still stuck unfortunately- wish it were that easy!

That's really odd, because when I changed it here the footer promptly appeared. In which browser is it not appearing?

You do realize that something is pushing the footer way down the page.

EDIT:

The opening <object tag needs it's closing ">" before the </object> tag Give that a try.

Naw. We just fool ourselves. We ask the validator to check the code as if it were XHTML, but then we serve that same code over the web not as XHTML but as plain old HTML. We pretend we're using XHTML but we're really not.

The validator detects and decides what we are using so not sure what you are talking about.

Jeff_Mott
—
2014-07-17T05:59:54Z —
#7

pav said:

The validator detects and decides what we are using so not sure what you are talking about.

The short answer is: The validator decides based on doctype, but browsers decide based on MIME type.

That's really odd, because when I changed it here the footer promptly appeared. In which browser is it not appearing?

You do realize that something is pushing the footer way down the page.

EDIT:

The opening <object tag needs it's closing ">" before the </object> tag Give that a try.

`

...50024" style="width:600px;height:450px;">

`

O M G THANK YOU!

ronpat
—
2014-07-17T06:22:47Z —
#9

pav said:

The validator detects and decides what we are using so not sure what you are talking about.

pav, the problem is a syntax error with the <object> tag. The validator does not see it. It is possible for the validator to be wrong. You can write really valid code, which this seems to be to the validator (but isn't), and it will not work properly, which is what is happening here. This code contains an error that the validator is not programmed to catch.

EDIT: :lol: looks like we cross posted. Glad you got it fixed. Sometimes the simplest things can be tricky.

ronpat
—
2014-07-17T06:29:42Z —
#10

Jeff_Mott said:

The short answer is: The validator decides based on doctype, but browsers decide based on MIME type.