Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Search  (Read 3095 times)

0 Members and 1 Guest are viewing this topic.

trackman

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Search
« on: February 21, 2007, 09:28:44 pm »

I've recently added a search field to the main page but cannot get it to align center, here's the coding:

Quote
<!-- add search box -->

               <div>
   <form method="get" action="thumbnails.php" name="searchcpg">
   <input type="hidden" name="album" value="search">
   <input type="hidden" name="type" value="full">
   <input type="text" style="vertical-align: bottom" style="height: 16px" style="width: 250px" name="search" maxlength="400" value="" class="textinput">
   <input type="submit" style="height: 22px" value="Quick Search">
   </form>
            </div><!-- End search box -->

http://cdcoverhideout.com/gallery

Thanks ;D
« Last Edit: February 21, 2007, 09:38:43 pm by Nibbler »
Logged

trackman

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Search
« Reply #1 on: February 21, 2007, 09:38:02 pm »

I've sorted it, I've added the following tag to the code <center></center>

<!-- add search box -->

Quote
               <div><center>
   <form method="get" action="thumbnails.php" name="searchcpg">
   <input type="hidden" name="album" value="search">
   <input type="hidden" name="type" value="full">
   <input type="text" style="vertical-align: bottom" style="height: 16px" style="width: 250px" name="search" maxlength="400" value="" class="textinput">
   <input type="submit" style="height: 22px" value="Quick Search">
   </form>
            </center></div><!-- End search box -->
Quote

With the tags in place the search box aligns in the center ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.