Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I resize Seach Box input field


woodpress

Recommended Posts

Howdy.

 

Here's the situation. In IE my seach box in the left column displays properly: [__________] GO

 

but in FireFox It displays with the "GO" underneath the input field:

[__________]

GO

 

 

For the life of me I can't figure out why that is happening. It would stand to reason that if I could make the input field smaller then that would naturally correct the problem. The rub is that it doesn't seem to be set in the stylesheet nor in the boxes/search.php file.

 

Can some one help me end my seach for this anwser?

 

Thanks>

Link to comment
Share on other sites

Howdy.

 

Here's the situation. In IE my seach box in the left column displays properly: [__________] GO

 

but in FireFox It displays with the "GO" underneath the input field:

[__________]

GO

 

 

For the life of me I can't figure out why that is happening. It would stand to reason that if I could make the input field smaller then that would naturally correct the problem. The rub is that it doesn't seem to be set in the stylesheet nor in the boxes/search.php file.

 

Can some one help me end my seach for this anwser?

 

Thanks>

 

Unfortunatly firefox pixel sizes are thier own!!

In boxes/search.php find the line 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') .

 

the 'size="10 sets size of input box

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...