请教各位达人,RT请注意是同一行,用两个<span>标签我试过了,第二个标签里的内容就换行了,何解?

解决方案 »

  1.   

    模板列中加入一个<div id="left">左边的内容</div>  <div id="right">右边的内容</div>然后分别设置两个DIV的(在head中加入)
    <style type="text/css">
    #right
    {
    float:right;
    width:45%;
    height:100%;
    }
    #left
    {
    float:left;
    width:45%;
    height:100%;
    }
     </style>
      

  2.   

    <div>
       <div class='fle'></div>
       <div class='fri' ></div>
       <div class='clear'></div>
    </div>
    css中控制位置.clear{clear:both;font-size:0px;line-height:0px}
    .fle{float:left}
    .fri{float:right}
      

  3.   

    就是 布局一下就可以了 div或者table都是可以的 但是最好还是用Div吧 它有这方面的设置的
      

  4.   

    就是 div 的  float:right;   这个属性
     
      

  5.   

    好了,要先写右边的div,再写中间的div,谢谢啦
      

  6.   

    好了,要先写右边的div,再写中间的div,谢谢啦
      

  7.   

    这个功能要设置三个DIV
    <div id="left">空的不写内容</div> <div id="middle">中间的内容</div> <div id="right">右边的内容</div> 然后分别设置两个DIV的样式(在head中加入) 
    <style type="text/css"> 
    #left 

    float:left; 
    width:33%; 
    height:100%; 
    } #middle

    float:left; 
    width:33%; 
    height:100%; 
    } #right 

    float:right; 
    width:33%; 
    height:100%; 
    } </style>