Search 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]

Main Menu

Search

Started by trackman, February 21, 2007, 09:28:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

trackman

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

trackman

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