我如何让这些东西水平而不是垂直?

时间:2010-01-08 20:55:48

标签: css layout drop-down-menu

http://we-live.in/city.html - 我喜欢看到资源和事件并排bc im列出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>

1 个答案:

答案 0 :(得分:0)

尝试一点css&lt; h2 style =“float:left”&gt;从那里开始。