I must have lifted that code from the wrong file as it isn't totally accurate. If you want to try it, use this instead.
CODE
<td valign="middle" class="headerNavigation">Search
<?php echo tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'); ?>
<?php echo tep_draw_input_field('keywords', '', 'size="20" maxlength="50" style="width:120; height:20; position:relative;left:0;top:0;" onmousedown="this.value=\'\'" value="Type here" class="boxText"') . tep_hide_session_id() . ' <a class="headerNavigation" href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></p></a>'; ?>
</form></td>
If you open up includes/header.php in your text editor, you will find this code
CODE
<td class="headerNavigation"> <?php echo $breadcrumb->trail(' ยป '); ?></td>
Just add my code to the next line. BTW, I added - font-weight : normal; - to the boxText class in stylesheet.css so the search box text wasn't bold. I used boxText so the font-size was the same as the rest.
Now I haven't used that in the breadcrumb bar before and when I tried it, it expanded the grey bar height. I will try to make it look better later. But you can try for now and see what results you get.
For the first question, if you look in index.php, at the start of the HTML code, you will see this
CODE
<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
<tr>
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
Then further down, at the bottom, this
CODE
<!-- body_text_eof //-->
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
If you set the cellspacing and cellpadding values to "0" that will make your boxes line up to the grey bar. If you do it that way though, you would have to make the same change to all root level files. Not a problem if you have a text editor with a search and replace function.
Also, using that method, being as it would make the boxes sit right on the grey bar, you will probably want to add some padding, margins or seperator gifs somewhere else, to make it look better.
If you want to make the grey bar size to the boxes instead, one way would be to include empty cells, the width you require. For example, in includes/footer.php find this code
CODE
<table border="0" width="100%" cellspacing="0" cellpadding="1">
<tr class="footer">
<td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td>
<td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td>
</tr>
</table>
You can remove the class="footer" from the row <tr> as it adds a background color and put in a new cell each end with no background color, the width you want. Like this
CODE
<table border="0" width="100%" cellspacing="0" cellpadding="1">
<tr>
<td width="10"></td>
<td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td>
<td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td>
<td width="10"></td>
</tr>
</table>
Do the same for includes/header.php and you only need to change the 2 files.
There are lots of ways to achieve the result you want, just make sure you always make a copy of any file you are going to change first, then jump in and pull it apart.