韩国限制禁片去哪里看:这里的id="image"和id="text"是什么意思?

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/29 11:24:52
<html>
<head>
<title>zindex</title>
<style type="text/css">
<!--
.pile{position:absolute;left:2in;top:2in;width:3in;height:3in;}
.pile1{position:absolute;left:3in;top:2in;width:1in;height:1in;}
-->
</style>
</head>
<body>
<img src="ss01010.jpg" class="pile" id="image" style="z-index:1">
<div class="pile" id="text1" style="color:#ffff33;z-index:2" >
这段文字将覆盖在图片上。
</div>
<img src="075.gif" class="pile1" id="image"
style="z-index:3">
</body>
</html>
在css中,我知道ID是ID类,对网页布局非常有用,可是上面的一段代码中,出现了id="image"和id="text1",而在head中并未定义这两个id类啊,那它们这里有什么用呢?
能否通俗一点,我怎么不知道你在说什么呢?

不在表格被加入图片背景而直接能让文字出现在图片上面,
这里的image和text1定义了叠层方式