使用jquery解决IE6不兼容的伪类

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>使用jquery解决ie不支持的属性</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript">
$(function(){
$("div h1:first-child").css("color","lime");
})
</script>
<style type="text/css">
div h1:first-child {
        color:lime;
}
</style>
</head>
<body>
<h1>web标准学习-小辉博客</h1>
<div>
  <h1>jquery学习</h1>
  <h1>ps学习</h1>
  <h1>flash学习</h1>
</div>
</body>
</html>