2010-01-08 117 views
0

http://we-live.in/city.html - id喜欢看资源和事件并排bc我列出3更多...而不是在另一个之上 - 我可以在div内做到这一点,或我必须重新设计布局吗?我如何让这些东西水平而不是垂直?

<div id="row1"> 
    <div class="wrapper"> 
    <h2><script type="text/javascript"> 
<!-- 
document.write('<form name="selecter1"><select name="select1" size=1>'); 
document.write('<option value=none>Select your destination'); 
document.write('<option value=none>BUILDING'); 
document.write('<option value="page1.html">BUILDING'); 
document.write('<option value="page2.html">NEIGHBORHOOD'); 
document.write('<option value="page 3.html">CITY'); 
document.write('</select>'); 
document.write(' <input type="button" value="Go" onclick="go1()">'); 
document.write('</form>'); 
// end hiding contents --> 
</script>Resources</h2> 
    <h2><script type="text/javascript"> 
<!-- 
document.write('<form name="selecter1"><select name="select1" size=1>'); 
document.write('<option value=none>Select your destination'); 
document.write('<option value=none>BUILDING'); 
document.write('<option value="page1.html">BUILDING'); 
document.write('<option value="page2.html">NEIGHBORHOOD'); 
document.write('<option value="page 3.html">CITY'); 
document.write('</select>'); 
document.write(' <input type="button" value="Go" onclick="go1()">'); 
document.write('</form>'); 
// end hiding contents --> 
</script>Events</h2> 

回答

0

试用了一下CSS < H2风格= “浮动:左” >并从那里走。

+0

非常感谢 - 我应该把它放在一般的页面还是放在div里? - 我去试试 – adam

+0

http://we-live.in/city.html其移动的东西 - 但它的移动文本不是表格 – adam