Welcome to Dream.In.Code
Become an Expert!

Join 149,709 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,258 people online right now. Registration is fast and FREE... Join Now!




IE Display bug

 
Reply to this topicStart new topic

IE Display bug

The Neoracle
17 Feb, 2007 - 12:54 PM
Post #1

Check, check, 1, 2.
Group Icon

Joined: 30 Mar, 2001
Posts: 4,069



Thanked: 1 times
My Contributions
Hello All,
I've got a real puzzler. My site is showing up perfect in Firefox but in IE (checked both 6 and 7) all that is displaying is my background image and the title (in the title bar). I am not getting anything else. The page mostly validates as XHTML 1.0 Strict. There isn't any unclosed <div>'s that I can find, I'm pretty much stumped.

http://evang.eli.st:8200 (dev url)


Anyone have any ideas? I've ran this past a few friends and they didn't see anything they could think of.

Thanks in advance for you help.
User is offlineProfile CardPM
+Quote Post

girasquid
RE: IE Display Bug
17 Feb, 2007 - 01:21 PM
Post #2

Barbarbar
Group Icon

Joined: 3 Oct, 2006
Posts: 1,294



Thanked: 18 times
Dream Kudos: 725
My Contributions
I've had this happen to me before. It happens when you don't have a closing </script> tag. You need to change these lines:
CODE

<script src="/javascripts/sifr.js" type="text/javascript" language="javascript" />
<script src="/javascripts/sifr-config.js" type="text/javascript" language="javascript" />
<script type="text/javascript" src="/javascripts/prototype.js" language="javascript" />
<script type="text/javascript" src="/javascripts/scriptaculous.js?load=effects" language="javascript" />
<script type="text/javascript" src="/javascripts/lightbox.js" language="javascript" />

To this:
CODE

<script src="/javascripts/sifr.js" type="text/javascript" language="javascript"></script>
<script src="/javascripts/sifr-config.js" type="text/javascript" language="javascript"></script>
<script type="text/javascript" src="/javascripts/prototype.js" language="javascript"></script>
<script type="text/javascript" src="/javascripts/scriptaculous.js?load=effects" language="javascript"></script>
<script type="text/javascript" src="/javascripts/lightbox.js" language="javascript"></script>


Cheers,
Girasquid

This post has been edited by girasquid: 17 Feb, 2007 - 01:23 PM
User is offlineProfile CardPM
+Quote Post

The Neoracle
RE: IE Display Bug
17 Feb, 2007 - 03:41 PM
Post #3

Check, check, 1, 2.
Group Icon

Joined: 30 Mar, 2001
Posts: 4,069



Thanked: 1 times
My Contributions
Fixed it right up. Tkx.
User is offlineProfile CardPM
+Quote Post

Arbitrator
RE: IE Display Bug
19 Feb, 2007 - 08:00 PM
Post #4

D.I.C Regular
Group Icon

Joined: 26 Jan, 2005
Posts: 492



Thanked: 2 times
My Contributions
<script/> is valid XHTML. However, as most people do, you’re serving your XHTML as HTML so that Internet Explorer (which doesn’t support XHTML) can read it. Thus, it’s being parsed with an HTML parser; there’s no such thing as a self-closing element in HTML. In other words, when your XHTML page is parsed correctly with an XML parser, you can use short-cuts like these; otherwise they must be avoided, since an HTML parser will interpret the element as if its closing tag is missing.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 04:28AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month