Gossamer Forum
Quote Reply
Search Box
Is there a way to adjust the size of the text box in the search form? I don't see anything in the CSS that will allow me to adjust the width of it.

Any ideas?
Quote Reply
Re: [tommeyboy] Search Box In reply to
On the advanced search, or the one that's in the header?

Adrian
Quote Reply
Re: [brewt] Search Box In reply to
The one that is on the header.

Below is the code that I'm using, but cannot adjust the width of the text input box. I've bolded the line that creates the text input box.

Code:
<div class="clear">
<div class="searchbar">
<form action="<%config.db_cgi_url%>/search.cgi">
<label for="searchbox">Search</label><br>
<input type="text" id="searchbox" name="query" value="<%if query%><%escape_html query%><%endif%>" class="text" />
<%if category_id%>
<input type="radio" id="searchentire" name="catid" value="" checked="checked" />
<label for="searchentire">All directory</label><br>
<input type="radio" id="searchcat" name="catid" value="<%escape_html category_id%>" />
<label for="searchcat">This category</label><br>
<%endif%><input type="submit" name="Go" value="Go" class="submit" /><br>
<a href="<%config.db_cgi_url%>/search.cgi">Advanced Search</a>
</form>
</div>
</div>
Quote Reply
Re: [tommeyboy] Search Box In reply to
Just add a rule:
Code:
#searchbox {
width: 200px;
}
to your luna.css file.

Adrian

Last edited by:

brewt: Feb 22, 2006, 12:32 PM
Quote Reply
Re: [brewt] Search Box In reply to
I've tried that, but the search box width stays the same in IE and Firefox.
Quote Reply
Re: [tommeyboy] Search Box In reply to
Works for me. Are you sure your browsers aren't caching your css file? If not, send me admin panel access and I'll take a look.

Adrian
Quote Reply
Re: [brewt] Search Box In reply to
pm sent.