Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Dec 2009
    Posts
    240
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Form Layout Query

    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

    Code:
    <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

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Code:
    .rightbox #keyword {/*style.css (line 600)*/
    float:left;
    width:124px;
    }
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Regular Coder
    Join Date
    Dec 2009
    Posts
    240
    Thanks
    7
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by abduraooft View Post
    Code:
    .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?

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Btw how do I sort out the spacing between the drop down menu part and the text Search By Keyword part please?
    Code:
    <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.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •