div触摸浏览器的左右端 [英] div to touch left and right end of browser
本文介绍了div触摸浏览器的左右端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何移动defie div左边和销售订单div右边......
i给浮动属性,但不工作.....
i想要一个div触及极左和另一个div向右移动....
提供我的代码在下面.....
how to move the defie div left and the sales order div right...... i gave float property but not working..... i wanted one div to touch extremely left and another div to move to the right.... providing my code below.....
http://jsfiddle.net/zbyLy/3/embedded/result/
<div style="padding-left: 41px; padding-top: 10px; float:left;">
<a class="" href="#">
<img alt="change" class="defieLogo" src="http://www.defie.co/designerImages/defie_logo_only.png">
</a>
<p style="margin-top: 5px; margin-bottom: 0px;">47657 Lakeview Blvd, Fremont CA 94538</p>
<p>Tel: 510-657-8981 <span style="padding-left: 18px;">wwww.abcdfg.com</span></p>
</div>
<div style="border: 1px solid red; width: 300px; float:left;">
<p style="color: #14486b; font-size: 18px; font-family: arial; font-wieght: bold; ">Sales Order</p>
<p style=>Customer No. ABC01</p>
<p style=>sales Order No. 100001</p>
<p style=>Est. Ship Date 2/24/2013</p>
</div>
推荐答案
<div style="border: 1px solid red; width: 300px; float:right;">
demo: http://jsfiddle.net/zbyLy/
demo :http://jsfiddle.net/zbyLy/
这篇关于div触摸浏览器的左右端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文