0

如何将 defie div 向左移动,将销售订单 div 向右移动......我给了 float 属性但没有工作......我希望一个 div 触摸到极左,另一个 div 移动到右边...... .在下面提供我的代码.....

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>
4

1 回答 1

1
<div style="border: 1px solid red; width: 300px; float:right;">

演示:http: //jsfiddle.net/zbyLy/

于 2013-02-14T20:00:12.047 回答