i标签是定义在浏览器中显示略大的斜体,像下图这种字体,是html标签,不属于css
若果要去掉斜体。可以在css中单独定义
i{font-style:normal}
这个样可以的啊,你的class=1后面紧跟着就是class2了是吧,你这样了,你把class2定义个高度跟宽度,再把class1的position:relativea标签相对class绝对定位就可以了,代码如下:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<head>
<meta http-equiv="Content-Type" content="text/htmlcharset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
.1
.a1
.a2
.a3
</style>
</head>
<body>
<div class="1" style=" border:1px green solid"><a class="a1" href="">路边</a>有一辆违章停放的<a class="a2" href="">保时捷</a>。阿sir过来给它贴条儿,抄罚单。<a class="a3" href="">你好</a>,抄罚单的我是警察。</div>
<div class="2" style=" border:1px red solidposition:relativeheight:100pxwidth:100pxmargin-top:5px"></div>
</body>
</html>