首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

一个有关CSS的简单有关问题

2012-08-13 
一个有关CSS的简单问题htmlheada hrefjavascript:alert(new Date())abc/astyle typetext/c

一个有关CSS的简单问题

<html>
<head>
<a href="javascript:alert(new Date());">abc</a>
<style type="text/css">
div{background:url("javascipt:window.open('http://www.baidu.com');");}
H1 {font-size:x-large;color:red}
H2 {font-size:large;color:blue}
a:visited {font-size:large;color:black;font-family:"宋体"}
</style>
</head>

<body class="div">

<div></div>
<H1>aaa</H1><br>
<H2>aaa</H2>

</body>
</html>
为什么这一句显示不出来效果?

[解决办法]
发个连接给你看看 http://hi.baidu.com/wanghui320/blog/item/8235e9218a43c07135a80f37.html

热点排行