Unstoppable Domains

Border in the search box

Spaceship Spaceship
Watch

fuser00

Established Member
Impact
4
Hi, i have a site with a search box that appears inside a rectangle...how can i take it away? I just want the search box, with nothing around it.

Ive attached a picture

Thanks, fuser
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
I think you will have to show us the codes for us to help..

Is the layout coded in CSS or tables? You can simply set the borders to 0 in either case but different methods.

Or can you provide a link to that page?
 
0
•••
Hi, thanks for the help

Here the code
Code:
<center>

<table cellpadding="5" cellspacing="1" class="searchBox">

<tr>

	<td align="center">



	<form action="index.php" method="get">



<table><tr><td>

	<div align="left"> 

<input type="text" name="query" id="query" size="40" value="<?  print quote_replace($query);?>" action="include/js_suggest/suggest.php" columns="2" autocomplete="off" delay="1500">	

</div> 

<td>

<input type="submit" value="<?=$sph_messages['Search']?>">

</td></tr></table>



	   

<? if ($adv==1 || $advanced_search==1) {

?>

	<table width = "100%">

	<tr>

		<td width="40%"><input type="radio" name="type" value="and" <?=$type=='and'?'checked':''?>><?=$sph_messages['andSearch']?></td>

		<td><input type="radio" name="type" value="or" <?=$_REQUEST['type']=='or'?'checked':''?>><?=$sph_messages['orSearch']?></td></tr>

	<tr>

		<td><input type="radio" name="type" value="phrase" <?=$_REQUEST['type']=='phrase'?'checked':''?>><?=$sph_messages['phraseSearch']?></td>

		<td><?=$sph_messages['show']?>

			<select name='results'>

		      <option <? if ($results_per_page==10) echo "selected";?>>10</option>

			  <option <? if ($results_per_page==20) echo "selected";?>>20</option>

		      <option <? if ($results_per_page==50) echo "selected";?>>50</option>

		      <option <? if ($results_per_page==100) echo "selected";?>>100</option>

			</select>

				

	  		<?=$sph_messages['resultsPerPage']?>   

	  	</td>

	</tr>

	</table>

<?}?>





	

<?if ($catid<>0){?>     

	<center><b><?=$sph_messages['Search']?></b>: <input type="radio" name="category" value="<?=$catid?>"><?=$sph_messages['Only in category']?> "<?=$tpl_['category'][0]['category']?>'" <input type="radio" name="category" value="-1" checked><?=$sph_messages['All sites']?></center>

<? }?>

	<input type="hidden" name="search" value="1"> 

	</form>

		<?if ($has_categories && $search==1 && $show_categories){?> 

		<a href="search.php"><?=$sph_messages['Categories']?></a>

		<? }?>	   

	</td>



</tr>

</table>

</center>
 
0
•••
Oaky that must be styled by a stylesheet. From that code i can see no frameset nor can i see anything o do with borders. Are you sure theres no other coding with that? From that I can't see a solution.
 
0
•••
Look into your CSS codes under the class, searchBox.

Add in:
Code:
border: 0 ;

Or change the existing border attributes to reflect 0 border properties.

Hope it helps :)
 
0
•••

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back