Global Moderator
Internet Junkie
Gender:
Posts: 1807
9006 credits Members referred : 6
« on: Oct 16, 2007, 12:24:02 AM »
I'm slowly loosing it
Here's yet another IE display problem: have a look at emlist.net In the left column there is a form that works perfectly well in firefox, but I only see a tiny square in IE.
emlist.net/register.php looks good in both browsers, this is the file that is being included on the main page. Who can tell me what I'm missing here?
Global Moderator
Internet Junkie
Gender:
Posts: 1807
9006 credits Members referred : 6
« Reply #3 on: Oct 16, 2007, 12:16:39 PM »
I added the <object> tag to let it validate as xhtml strict. The w3.org validator said it was missing that tag. Upon closer inspection: the form was placed within a <p> tag, removed both the p and object tags and it validates (and displays correctly) now.
Global Moderator
Internet Junkie
Gender:
Posts: 1807
9006 credits Members referred : 6
« Reply #5 on: Oct 16, 2007, 12:28:27 PM »
It did validate after adding the object tag...
Quote from: W3C validator
document type does not allow element "form" here; missing one of "object", "ins", "del", "map" start-tag.
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").