- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
You guys have been great help so far.
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?
can you show us a live example?
Also make sure you are -99999px the actual element with the BG image and not the one that element is sitting in :)
The site: http://www.diapercakesbyjenny.com/products-page/
Here is the markup:
Here is the css that is written for the button.
if you look in your CSS – you have put quotation marks around your image url…
Change:
background: transparent url(’images/atc2.gif’);
to:
background: transparent url(images/atc2.gif);
that might change some stuff :D
Looks like you got some curly quotes in there where you have the path to the image.. which is screwing it up.