Hi,
I am trying to float an image to the far right of the 'search bar' in the template: 'include_header.html'
Take a look at the code:
<div class="searchbar">
-- want to float an image to the right ...
<form action="<%config.db_cgi_url%>/search.cgi">
<label for="searchbox">Search</label>
<%if category_id%><input type="radio" id="searchentire" name="catid" value="" checked="checked" /><label for="searchentire">the entire directory</label> <input type="radio" id="searchcat" name="catid" value="<%escape_html category_id%>" /><label for="searchcat">only this category</label><%endif%>
<input type="text" id="searchbox" name="query" value="<%if query%><%escape_html query%><%endif%>" class="text" /><input type="submit" name="Go" value="Go" class="submit" /> <a href="<%config.db_cgi_url%>/search.cgi">Advanced Search</a>
</form>
</div>
-
I've used the same CSS used in the footer that floats the Gossamer logo accordingly:
img {
float: right;
}
But this does not work when I apply a CSS class to the 'searchbar' class <div> above.
Any ideas?
I am trying to float an image to the far right of the 'search bar' in the template: 'include_header.html'
Take a look at the code:
<div class="searchbar">
-- want to float an image to the right ...
<form action="<%config.db_cgi_url%>/search.cgi">
<label for="searchbox">Search</label>
<%if category_id%><input type="radio" id="searchentire" name="catid" value="" checked="checked" /><label for="searchentire">the entire directory</label> <input type="radio" id="searchcat" name="catid" value="<%escape_html category_id%>" /><label for="searchcat">only this category</label><%endif%>
<input type="text" id="searchbox" name="query" value="<%if query%><%escape_html query%><%endif%>" class="text" /><input type="submit" name="Go" value="Go" class="submit" /> <a href="<%config.db_cgi_url%>/search.cgi">Advanced Search</a>
</form>
</div>
-
I've used the same CSS used in the footer that floats the Gossamer logo accordingly:
img {
float: right;
}
But this does not work when I apply a CSS class to the 'searchbar' class <div> above.
Any ideas?