DreamHost Web Hosting
Discussion Forum


Forums
   >> Web Design
*Threaded Mode

Subject IE Problems  
Posted bydecswxaqz (DH Enthusiast)
Posted on09/19/05 05:49 AM



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?



Subject Re: IE Problems new [re: decswxaqz]  
Posted bymatttail (DH Smarty Pants)
Posted on09/19/05 07:25 AM



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

Subject Re: IE Problems new [re: matttail]  
Posted bydecswxaqz (DH Enthusiast)
Posted on09/19/05 10:59 AM



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.



Subject Re: IE Problems new [re: decswxaqz]  
Posted bysilkrooster (DH Regular)
Posted on09/25/05 08:55 PM



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



Subject Re: IE Problems new [re: silkrooster]  
Posted byAtropos7 (DH Grizzled Veteran)
Posted on09/25/05 10:12 PM



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.

Perl / MySQL / HTML CSS

Edited by Atropos7 on 09/25/05 10:15 PM (server time).




*Threaded Mode
Jump to