Search Search
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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