一位客户最初在IE浏览器中遇到了此问题(我不确定是哪个版本)。我可以把它复制到我的三星Galaxy 3手机的Chrome浏览器上。查看包含两个查询字符串的此链接时,页面上不使用CSS:
http://catalogs.infocommiq.com/avcat/ctl1642/index.cfm?bimlist&company=203603
您可以查看页面的源代码,并看到CSS文件正在被调用并且可用。iqRegional.css keywordsearchsearchform.css iqBIM.css
一个CSS文件用绝对链接调用,另外两个用相对链接调用。无法在我的三星Galaxy 3手机的Chrome浏览器上加载此页面的所有文件。
但是,如果我缩短了链接中的查询字符串,则CSS加载正常。http://catalogs.infocommiq.com/avcat/ctl1642/index.cfm?bimlist
发布于 2014-05-07 09:41:50
对于http://catalogs.infocommiq.com/avcat/ctl1642/index.cfm
第67-72行包含以下内容:
<script type="text/javascript">
MyIQDynamicListArrayName = 'MyIQListArrays', List_Catalog_ID = 1642;
</script>
<link rel="stylesheet" type="text/css" href="http://catalogs.infocommiq.com/avcat/css/iqRegional.css?v=6"><link rel="stylesheet" type="text/css" href="../keywordsearchsearchform.css?v=6"><title>Audio Visual Equipment, AV Service Providers Directory and Resource Center - AV-iQ</title><meta name="description" content="The most complete audio visual equipment, AV service providers directory and industry resource center including AV equipment, installations, dealers, rentals, service providers, case studies, news and more!"><meta name="keywords" content="audio visual equipment AV services providers directory resource installations dealers rentals 3D cameras displays projectors screens mounts video production presentation systems content delivery digital signage test measurement signal management furniture consoles media manufacturers - AV-iQ"></head>
<body>相比之下,对于http://catalogs.infocommiq.com/avcat/ctl1642/index.cfm?bimlist&company=203603,
第62-67行包含以下内容:
<script type="text/javascript">
MyIQDynamicListArrayName = 'MyIQListArrays', List_Catalog_ID = 1642;
</script>
</head>
<body>因此,在第一个链接中调用了更多的css文件。您需要检查您的模板代码,以了解为什么添加查询字符串会终止对这些css文件的调用。
https://stackoverflow.com/questions/23506075
复制相似问题