IE Problems

IE Problems

Posted by: decswxaqz
Posted on: 2005-09-19 05:49:00

http://www.decswxaqz.co.uk/fahrenheit/test_page.php
http://validator.w3.org/check?uri=http://www.decswxaqz.co.uk/fahrenheit/test_page.php&charset=(detect+automatically)&doctype=Inline

Nothing shows in IE but it works fine in Firefox. It's xhtml valid. Even my CSS is valid.

http://jigsaw.w3.org/css-validator/validator?uri=http://www.decswxaqz.co.uk/fahrenheit/main.css&usermedium=all
http://jigsaw.w3.org/css-validator/validator?uri=http://www.decswxaqz.co.uk/fahrenheit/table.css&usermedium=all
http://jigsaw.w3.org/css-validator/validator?uri=http://www.decswxaqz.co.uk/fahrenheit/tabs.css&usermedium=all


I'm guessing the fact it's XHTML is throwing IE off. But I'm not sure. Does anyone have any ideas?

Re: IE Problems

Posted by: matttail
Posted on: 2005-09-19 07:25:00

Ok, first off IE can't handle transparent PNG files. You can change them over to gif files, and then IE can handle them. Or you can call in the PNG files through your CSS files, as below - just define it in a class like you're allready calling.

In reply to:


background: url(http://www.yourdomain.com/images/GraphicAlpha.png) no-repeat !important;
background: url(http://www.yourdomain.com/images/graphic.gif) no-repeat;



The !important tage will only renger in complient browsers - not IE, so it ignoers it and goes on to the seconed line.

I think what's happening here is that IE comes along to thses transparent png files, doesn't know how to handle them, and just dies. Instead of trying to render the rest of hte page, or give an error, it just dies. that is so helpful...

Anyways - does this fix your problem?



-Matttail

Re: IE Problems

Posted by: decswxaqz
Posted on: 2005-09-19 10:59:00

Got it working.
Seems IE can cope with an included script tag ending.
I had
<script language="JavaScript" src="script.js" type="text/javascript" />

It needs the </script> so I used
<script language="JavaScript" src="script.js" type="text/javascript"></script>

Stupid IE. Now I've got to work around it's css problems.

Re: IE Problems

Posted by: silkrooster
Posted on: 2005-09-25 20:55:00

I have been thinking about this and the validator should be in the wrong. From what I have read all xhtml files are suppose to have a matching ending tag.

Silk

Re: IE Problems

Posted by: Atropos7
Posted on: 2005-09-25 22:12:00

In reply to:

I have been thinking about this and the validator should be in the wrong. From what I have read all xhtml files are suppose to have a matching ending tag.


Empty elements must have an end tag or a terminated start tag. Non-empty elements must have an end tag.

<p>Non-empty with both start and end tags. The following two elements are "EMPTY"</p>
<br />
<hr></hr>


In XHTML Strict, script elements are not empty. Thus an end tag is required.

cool Perl / MySQL / HTML CSSEdited by Atropos7 on 09/25/05 10:15 PM (server time).

Tags: phpvalidatorurihttp