coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: wannieb on July 11, 2006, 01:41:01 PM

Title: Issue with header in theme
Post by: wannieb on July 11, 2006, 01:41:01 PM
I am having issue with the header section in my theme, I have a search facility within the header for the main site and the form it is in called "SearchForm". The problem is with the search button.

html coding
********
<td width="118" align="right" valign="top" class="search"><form name="SearchForm" method="post" action="/cgi-bin/htsearch">
    <input type="text" name="words" id="searchinput" size="10" maxlength="50"><input type="hidden" name="exclude2" value=""><input type="hidden" name="restrict" value=""><input type="hidden" name="config" value="worldn"><input type="hidden" name="format2" value="builtin-long"><input type="hidden" name="sort" value="score"><input type="hidden" name="exclude" value="">
    <input type="submit" name="submit" value=">>" id="searchbut"> 
    </form></td>
*******

It is the "<input type="submit" name="submit" value=">>" id="searchbut">" which I have the problem with. In my normal pages and if I view the header file on its own the value">>" looks the right size, however when viewing the header file in the gallery it is different smaller. I can not see anything which could be interferring in it.

Any suggestions
Title: Re: Issue with header in theme
Post by: Sami on July 11, 2006, 02:04:12 PM
this is CSS issue your theme has a CSS entry for input tag
you should edit that entry or add a style properties to your input tag of search form
a direct link to your issue would be helpful
Title: Re: Issue with header in theme
Post by: Joachim Müller on July 11, 2006, 11:22:25 PM
Try<input type="submit" name="submit" value="&raquo;" id="searchbut" />or<input type="submit" name="submit" value="&gt;&gt;" id="searchbut" />
Not related to Coppermine though, but an html basic: you need to escape < and > to make them not be mistaken by the browser for tag start and end delimiters.