Victor,
Today may be your lucky day. I spent numerous hours this week dealing with the same issue. Here is the fix:
You need to remove the " " between the search textbox and the search anchor ! (You will have to create your own search skin control using the DNN one as a base)
This:
<div class="searchContain"><span id="dnn_SEARCH1_ClassicSearch">
<input name="dnn$SEARCH1$txtSearch" type="text" maxlength="255" size="20" id="dnn_SEARCH1_txtSearch" class="SearchTextBox" onkeydown="return __dnn_KeyDown('13', ' __doPostBack(%27dnn$SEARCH1$cmdSearch%27,%27%27)', event);" />
<a id="dnn_SEARCH1_cmdSearch" class="searchFont" href=" __doPostBack('dnn$SEARCH1$cmdSearch','')">Searcha>
span>
div>
to this:
<div class="searchContain"><span id="dnn_SEARCH1_ClassicSearch">
<input name="dnn$SEARCH1$txtSearch" type="text" maxlength="255" size="20" id="dnn_SEARCH1_txtSearch" class="SearchTextBox" onkeydown="return __dnn_KeyDown('13', ' __doPostBack(%27dnn$SEARCH1$cmdSearch%27,%27%27)', event);" />
<a id="dnn_SEARCH1_cmdSearch" class="searchFont" href=" __doPostBack('dnn$SEARCH1$cmdSearch','')">Searcha>
span>
div>
That should take care of your problem. (It worked for me, though I am using an Image button instead of just an anchor) As I said, I spent a lot of time fighting this issue so I can appreciate what you are going through.
Robert