Hi all,
I've just styled my own searchbox in the sidebar, but I can't get the input border to disappear like the one I have in the header of my site (www.notoriousdesign.co.uk/d r . u m). < remove spaces
Here's the PHP:
$content = "";
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">';
$content .= zen_draw_form('quick_find', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', $request_type, false), 'get');
$content .= zen_draw_hidden_field('main_page',FILENAME_ADVANCED_SEARCH_RESULT);
$content .= zen_draw_hidden_field('search_in_description', '1') . zen_hide_session_id();
if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes') {
$content .= zen_draw_input_field('keyword', '', 'size="18" maxlength="30" style="width: 138px"' . ($column_width-30) . 'px"') . '<br />' . zen_image_submit (BUTTON_IMAGE_SEARCH,HEADER_SEARCH_BUTTON);
$content .= '<br /><a href="' . zen_href_link(FILENAME_ADVANCED_SEARCH) . '">' . BOX_SEARCH_ADVANCED_SEARCH . '</a>';
} else {
$content .= '<div class="search-sidebox-input">'. zen_draw_input_field('keyword', '', 'size="6" maxlength="30" style="width: 138px" value="' . HEADER_SEARCH_DEFAULT_TEXT . '" onfocus="if (this.value == \'' . HEADER_SEARCH_DEFAULT_TEXT . '\') this.value = \'\';" onblur="if (this.value == \'\') this.value = \'' . HEADER_SEARCH_DEFAULT_TEXT . '\';"') . '</div><input class="button-search-sidebox" type="image" src="' . $template->get_template_dir('', DIR_WS_TEMPLATE, $current_page_base,'images') . '/searchbutton.jpg' . '" value="Search" />' /*. zen_image_submit (BUTTON_IMAGE_SEARCH,HEADER_SEARCH_BUTTON)*/;
$content .= '<br /><a href="' . zen_href_link(FILENAME_ADVANCED_SEARCH) . '">' . BOX_SEARCH_ADVANCED_SEARCH . '</a>';
}
$content .= "</form>";
$content .= '</div>';
?>
and this is the CSS, which I basically copied from the header styling that came with the Pure Black Free template:
.search-sidebox-input {
background: url("../images/searchsidebox.gif") no-repeat left top;
height: 27px;
padding:4px 0 0 10px;
float: left;
z-index: 2;
}
.search-sidebox input {
border: 0px;
margin: 0px;
color: #696969;
background: none; }
pleeeease help
Thanks!




