My site doesnt load on safari and IE? [closed]

2019-03-07 01:32发布

问题:

This is my site, [redacted]. Don't say im trying to scam you, or get clicks. It's my site, and it WILL work when im complete with it. The problem is, that it doesnt load on safari or IE, but works perfectly in chrome and firefox. Does anyone know the cause to this problem?

回答1:

Download Firebug for firefox that will help you debug it.

Remember different browsers will display things differently, especially IE :)

Just a quick google search here might help And here



回答2:

Right at the end of your head tag, you have:

#themeswitcher ul {
    list-style: none;
}</style>
</head>

But you opened a comment with <!-- at the start of that style tag. Add --> at the end to close the comment. Like this:

#themeswitcher ul {
    list-style: none;
}
--> </style>
</head>

It then works in Safari, and should work in other browsers.



回答3:

Your HTML is very invalid. Try fixing the errors and seeing if that helps.



回答4:

for one thing the source code in IE has multiple body and head tags. It may be possible you have other broken html tags in there as well.

As Andrew said, clean it up first then check into it.

Something like an unclosed div on one of those dynamically driven divs would be invalid in IE and any other literal browser.