论坛

标题: 为什么加了定位代码,但是位置么有发生变化 [打印本页]

作者: 朵拉先生    时间: 2017-5-31 16:55
标题: 为什么加了定位代码,但是位置么有发生变化
代码如下:

<p style=" position; relative;">
<img src="https://img.alicdn.com/imgextra/i1/734806026/TB2nQlCpOC9MuFjSZFoXXbUzFXa_!!734806026.jpg" alt=" 10、950px178px.jpg"/>

<div style="position;absolute; top:700px        ;left:700px        ;">

<form class="focus"  name="SearchForm" action="https://zjbufan.taobao.com/" method="get" target="_blank">

<input type="hidden" name="userId" value="" />

<input type="hidden" name="shopId" value="734806026" />

<input type="hidden" name="view_type" value="" />

<input type="hidden" name="order_type" value="" />

<input type="hidden" name="search" value="y" />

<input id="J_ShopSKey" name="keyword" type="text" class="text J_SEKeyword" value="" style="width:171px;height:41px;">

<input type="image" src="https://img.alicdn.com/imgextra/i2/734806026/TB2UMsYu4hmpuFjSZFyXXcLdFXa_!!734806026.jpg" border="0" WIDTH="35" height="39" align=absmiddle>

</form>
</div>
</p>



作者: 潜意式    时间: 2017-5-31 19:16
position:relative;中间是冒号,属性和属性值结束之后,才是分号。




欢迎光临 论坛 (http://bbs.qinxue.com/) Powered by Discuz! X3.1