Results 1 to 3 of 3

Thread: prevent form from starting new line?

  1. #1
    Join Date
    Jun 2005

    prevent form from starting new line?

    Hey I've got a list of links that I want to display followed by a search field (using a form), but the form seems to want to start a new line no matter what I try. It looks like this:
    HTML Code:
    <a href="">Home</a>
    <a href="">Post </a>
    <form name="search" action="search.php" method="POST">
    	<input type="text" name="searchTerm">
                    <!-- Options -->
    	<input type="submit" name="submitSearch" value="Search">
    and it comes out with the links one line above the form elements.. i want this to be a single horozontal line running across the top of my page... any ideas?

  2. #2
    Join Date
    Nov 2002
    Baltimore, Maryland
    <form name="search" action="search.php" method="POST" style="display:inline">
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

  3. #3
    Join Date
    Jun 2005

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Recent Articles