我似乎不能使一个div出现后,使它在onload中不可见的身体。这应该很简单,我只是想不出答案。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php include '/include/init
当JS被禁用时,我试图避免添加在线样式。例如,当JS被禁用时,我想在主体中隐藏一个元素,但我只想在外部CSS中执行此操作。
我想避免像下面这样添加样式
<noscript>
<style>
...some style
</style>
<p class="no-js">You need Javascript enabled to view all of the content on this page.</p>
</noscript>
<body>
&