Jump to content

Search Button Inside The Text Field


whiteboikyle

Recommended Posts

If you just want the image there for visual effect and not have it clickable, then you can just apply a background-image to the input element that is positioned on the right hand side.

 

If you want it clickable then you'd use two input's side-by-side in a div element.  Apply a background to the div that looks like a form field, then style the inputs to not have any borders on them.

 

  On 12/15/2012 at 10:58 AM, kicken said:

If you just want the image there for visual effect and not have it clickable, then you can just apply a background-image to the input element that is positioned on the right hand side.

 

If you want it clickable then you'd use two input's side-by-side in a div element. Apply a background to the div that looks like a form field, then style the inputs to not have any borders on them.

Thanks for trying to help but im trying to make the search bar INSIDE the input field.

Well, what I think you're asking for - that's not possible, so kicken gave you ways to accomplish the concept of what you showed us. The phrase "search bar inside the input field" doesn't even make any sense. What are you trying to do?

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.