Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Issues with search button and text box

Issues with search button and text box

Locked

Views: 2,135

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
1 Apr 2010, 8:49 PM
#1
borillion_star avatar

borillion_star

New Zenner

Join Date:
Jan 2008
Posts:
73
Plugin Contributions:
0

Issues with search button and text box

Im having an alignment issue with my search button and box and can not get it to align in the header. I dont see how it would change in the code because Im just calling the search sidebox.

<div id="headerArea"> <table cellpadding="0" cellspacing="0" class="headerArea"> <tbody><tr> <tr><td<tr> <td valign="top"></td> <td valign="top" align="right"> <table cellpadding="0" cellspacing="0" id="haInfoBar" class="">
		<tbody><tr>
			<td id="haInfoBarLeft"> </td>
			<td id="haInfoBarCenter"> <?php if ($_SESSION['customer_id']) { ?>
            <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a>
            <?php } else { ?>
            <a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a>
            <?php } ?></td>
			<td id="haInfoBarCart"></td>
			<td id="haInfoBarMyAccount"><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></td>			</tr>
	                <td id="haInfoBarRight"></td>
	<tr>
		<td colspan="5"></td>
	</tr>
	</tbody></table>	
	</td>
</tr></td></tr>
	<td valign="top">   
	<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT, HEADER_LOGO_WIDTH, HEADER_LOGO_HEIGHT) . '</a>'; ?></div></div></div>
	</td>
	<td valign="top" align="right">
	<table cellpadding="0" cellspacing="0" id="haInfoBar" class="">
	
		<tbody><tr>
		</tr>
	
	<tr>
		<td colspan="5"></td>
	</tr>
	</tbody></table>	
	</td>
</tr>
<tr>
	<td colspan="2">	
	<table cellpadding="0" cellspacing="0" id="haQuickSearch">	
	<tbody><tr>
		<td rowspan="2" id="haQuickSearchLeft"> </td>
		<td rowspan="2" id="haQuickSearchLabel"></td>
		<td rowspan="2" id="haQuickSearchTextbox"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></td>
		<?php /* <td rowspan="2" id="haQuickSearchSubmit"></td> */ ?>
		<td id="haQuickSearchInfoTab"></td>
		
		<td style="text-align:right;white-space:nowrap;"> </td>
	</tr>
	<tr>
1 Apr 2010, 10:48 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Issues with search button and text box

Bo,
If you don't want to post an actual link to the site here, then PM me so I view this issue with Firebug

1 Apr 2010, 11:02 PM
#3
borillion_star avatar

borillion_star

New Zenner

Join Date:
Jan 2008
Posts:
73
Plugin Contributions:
0

Re: Issues with search button and text box

Ok haredo, I sent you the PM thank you for your help!:clap:

1 Apr 2010, 11:20 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Issues with search button and text box

Bo,
I am stumped, she is wrapped within a table, wait for a fellow Zenner to read the thread...

1 Apr 2010, 11:22 PM
#5
borillion_star avatar

borillion_star

New Zenner

Join Date:
Jan 2008
Posts:
73
Plugin Contributions:
0

Re: Issues with search button and text box

HEHE, good to know Im not the only stumped one lol.

1 Apr 2010, 11:25 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Issues with search button and text box

You are going to have to locate the table and hard code the .php file

1 Apr 2010, 11:41 PM
#7
borillion_star avatar

borillion_star

New Zenner

Join Date:
Jan 2008
Posts:
73
Plugin Contributions:
0

Re: Issues with search button and text box

Im not sure what you mean, but the table that Im using I coded myslef, its just using search module that comes default with zen cart

<td rowspan="2" id="haQuickSearchTextbox"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></td>
2 Apr 2010, 12:01 AM
#8
borillion_star avatar

borillion_star

New Zenner

Join Date:
Jan 2008
Posts:
73
Plugin Contributions:
0

Re: Issues with search button and text box

I fixed it by defining a div around the php statement and forcing it explicitly defining it as text-align:left :yuck:

2 Apr 2010, 12:14 AM
#9
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Issues with search button and text box

Bo,
yeah Baby, nice work