Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-03-04 12:34:05

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

can't get rid off text of submit button in a search field

….in ie7 and ie6. top left corner at this page
any ideas?

Last edited by Gallex (2010-03-04 12:34:52)

Offline

#2 2010-03-04 13:30:07

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: can't get rid off text of submit button in a search field

Textpattern Support Forum

Anyways, in IE you kinda can’t use negative text-indent to hide button labels. And even if you did, you still are going to see some odd results.

You can use either:

  1. Image input (<input type="image" />).
  2. Javascript to create submit even for some other element
  3. Remove the contents of the button
  4. Make the button transparent and place the image as background.
  5. Make the text smaller and use paddings.

Offline

#3 2010-06-07 13:19:18

Vide-Dressing
Member
Registered: 2010-06-07
Posts: 31

Re: can't get rid off text of submit button in a search field

Using <input type=“image” /> is the best solution for a better rendering in all navigators.

Offline

Board footer

Powered by FluxBB