嗯,DOCTYPE
应该是你的 html 文档的第一行,但你有一堆前面的东西:
<title>Education Interface | Healthcare Industry Web-Enabled Online Training</title>
<meta name="keywords" content="Education Interface, healthcare, web enabled, online training, learning management system">
<meta name="description" content="Education Interface specializes in providing web-enables online learning to the healthcare industry. We provide solutions that include training, a learning management system, and customized content creation. ">
<style type="text/css">
#errorMessage
{
color:red;
font-size:10;
font-weight:bold;
}
</style>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
....实际上应该放在您的<head>
标签内。
因此,您的页面在 quirks 模式下运行,因此 Safari 和 IE 中的样式格式不正确(fancybox 要求您的页面在标准模式下运行才能正常工作)
有一个名为“验证器服务”的工具可以让您快速找到这些错误http://validator.w3.org/check?uri=http://www.educationinterface.com/