In Chris' video I have seen him assign a background-image to form buttons and then use text-indent: -999999px to knock the text off the page. For some reason in IE it seems to knock my entire button off the page yet it looks fine in FF.
What is the proper way to add an image to a form button that works in both FF and IE and hopefully all other browsers?
In Chris' video I have seen him assign a background-image to form buttons and then use text-indent: -999999px to knock the text off the page. For some reason in IE it seems to knock my entire button off the page yet it looks fine in FF.
What is the proper way to add an image to a form button that works in both FF and IE and hopefully all other browsers?
Also make sure you are -99999px the actual element with the BG image and not the one that element is sitting in :)
Here is the markup:
Here is the css that is written for the button.
Change:
background: transparent url(’images/atc2.gif’);
to:
background: transparent url(images/atc2.gif);
that might change some stuff :D