开发者

What does this snippet mean?

开发者 https://www.devze.com 2022-12-12 02:47 出处:网络
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 */ ?> </sc

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

精彩评论

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