Searchbar style problem?
-
i use this css
#searchbox {width:120px;
float:RIGHT;
padding:3px 4px;}
#searchbox .textfield {
background:#333333 ;
color:#999999;
font-size:10px;
width:120px;float:none;
}and this code
<!– searchbox START –>
<div id=”searchbox”>
<?php if($options[‘google_cse’] && $options[‘google_cse_cx’]) : ?>
<form action=”https://www.google.com/cse” method=”get”>
<div class=”content”>
<input type=”text” class=”textfield” name=”q” size=”24″ />
<input type=”hidden” name=”cx” value=”<?php echo $options[‘google_cse_cx’]; ?>” />
<input type=”hidden” name=”ie” value=”UTF-8″ />
<span class=”switcher” ><?php _e(‘Switcher’, ‘inove’); ?></span>
</div>
</form>
<?php else : ?>
<form action=”<?php bloginfo(‘home’); ?>” method=”get”>
<div class=”content”>
<input type=”text” class=”textfield” name=”s” size=”24″ value =”Search this site” onfocus=”if(this.value==’Search this site’)this.value=”” />
<span class=”switcher” ><?php _e(‘Switcher’, ‘inove’); ?></span>
</div>
</form>
<?php endif; ?>
</div>
<!– searchbox END –>How can I change the white border (can`t find it)around the search bar and how can i add a buttom to the right ( like the serach buttom at this forum)
- The topic ‘Searchbar style problem?’ is closed to new replies.