开发者

What does this snippet mean?

It's what I see in page.tpl.php of Drupal,but I don't understand.

<script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Co开发者_如何学JAVAntent in IE */ ?> </script>


Here you go: Flash of Unstyled Content or FOUC

It actually does not refer to Adobe Flash, it's referring to rendering of html before applying css to it. This is a hack to prevent IE from rendering html before applying css to it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜