开发者

jQuery Gallaria 1.2.3 rendering issue in Internet Explorer 8/9

开发者 https://www.devze.com 2023-02-25 03:56 出处:网络
I\'ve been working with jQuery slideshow \"Gallaria\". There is a rendering issue when using Internet Explorer 8/9 that looks like: click here. I am not sure why its rendering it out so its not \"full

I've been working with jQuery slideshow "Gallaria". There is a rendering issue when using Internet Explorer 8/9 that looks like: click here. I am not sure why its rendering it out so its not "fullscreen." I've tested the same page on Firefox4开发者_JAVA百科, Chrome and Safari and they all seem to render it as intended.

I've tried to use Firebug to find out if there are any issues on load and I have not found anything. I've reimplemented Gallaria from scratch and dug through the documentation. I can't seem to pinpoint why in Internet Explorer it behaves like this and not in the other browsers.

I have a uploaded this page to this directory: click here


The problem is that your page is in Quirks Mode.

It looks like you've accidentally deleted this doctype line from the top of your HTML:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Add that back in (as the very first line), and it will work properly in IE.


You should also fix this line:

<html="xmlns="http://www.w3.org/1999/xhtml">

into this:

<html xmlns="http://www.w3.org/1999/xhtml">

And this line:

<meta http-equiv="Content-Type" content"text/html"; charset="utf-8"/>

into:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

You're also missing a closing tag for html; add </html> at the end.

0

精彩评论

暂无评论...
验证码 换一张
取 消