Search Search
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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