...

View Full Version : Form Layout Query



Byronwells
01-02-2010, 02:09 PM
http://www.supreme-host.com/web/categories.php

How do I put the Start Button to be on the same line as the text box? I believe I have done that in dreamweaver



<div class="rightbox">
Search by categories:

<form id="form1" name="form1" method="post" action="">
<label>
<select name="select" id="select">
<option selected="selected">&lt;-- Select Category --&gt;</option>
<option>Private Label Rights</option>
<option>Master Resale Rights</option>
</select>
<br />
<br />
</label> Search by Keyword: <br />
<label>
<input name="keyword" type="text" id="keyword" />
</label> <img src="images/startbutton.jpg" width="51" height="21" />
</form></div>


But for some reason the start button appears to start higher than the text box..

Also I would like the spacing between the drop down menu box and Search By Keyword text to be smaller than it is

abduraooft
01-02-2010, 02:11 PM
.rightbox #keyword {/*style.css (line 600)*/
float:left;
width:124px;
}

Byronwells
01-02-2010, 02:18 PM
.rightbox #keyword {/*style.css (line 600)*/
float:left;
width:124px;
}

Abduracoft thanks for that :)

Btw how do I sort out the spacing between the drop down menu part and the text Search By Keyword part please?

abduraooft
01-02-2010, 02:29 PM
Btw how do I sort out the spacing between the drop down menu part and the text Search By Keyword part please?

<select name="select" id="select">
<option selected="selected">&lt;-- Select Category --&gt;</option>
<option>Private Label Rights</option>
<option>Master Resale Rights</option>
</select>
<br />
<br />
</label> Search by Keyword: <br /> You have given two line breaks there!

PS: Get firebug for your forefox (http://getfirebug.com).



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum