|
|
#11 |
|
Junior Member
Join Date: May 2009
Posts: 24
Rep Power: 1 ![]() |
The code suggestion that Mike gave didn't work. I was testing on IE 6. Upgraded to IE 8. Not sure what to do. Text over image doesn't show up in Safari, Firefox, or Google Chrome. ARG!!!! DAMN IE!!!! I will see what I can dig up in the other threads. Thanks for your help thus far. Industrialpost.com
|
|
|
|
|
|
#12 |
|
Moderator
Join Date: Mar 2006
Posts: 4,321
Rep Power: 106 ![]() ![]() |
Your best bet may be to do a search on google since this isnt a 68C specific thing.
http://www.ampsoft.net/webdesign-l/image-button.html
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
|
#13 |
|
Junior Member
Join Date: May 2009
Posts: 24
Rep Power: 1 ![]() |
Sure I can do that. However, I can't imagine that I am the only one that has wanted to change a form submit function from that of text to an image. Seriously?
What I mean, is that no one else has been able to tackle this one when making sure that their code looks presentable across all major browsers? Case in point IE?
Last edited by industrialpost; 05-30-2009 at 04:21 PM. |
|
|
|
|
|
#14 |
|
Moderator
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,490
Rep Power: 43 ![]() ![]() |
First that I've seen on here in my 3+ years here. Of course that doesn't mean someone hasn't done it and I'm sure that it can be done. I haven't tried it, but as it is a bug specific to IE, then more than likely it is a specific bug with hack fixes. Larry's suggestion is probably your quickest resolution to the issue. Any search for CSS/HTML fixes for IE will probably lead you to an answer.
__________________
Mike-N-Tosh IndianaPC.org - A community website (v3.1.10 Developer - heavily modified) Sandbox (v3.1.10, v4.0.9, 4.1.3) Visit My blog for tips, tricks, tutorials, reviews for 68 Classifieds as well as my store with Templates, Mods & Docs Web Hosting | Web Design & Development | 68 Classifieds Customizations I am not a 68C employee, just a user and try to help out |
|
|
|
|
|
#15 |
|
Junior Member
Join Date: May 2009
Posts: 24
Rep Power: 1 ![]() |
Great. Ok thanks for the key words to Google with. I came up with a site that gave a really good explanation for solving this curve ball.
IE not interpreting text-indent on submit buttons ? | Productivedreams.com However, since I have IE 8 installed instead of IE 6, I needed to remove the one line. Here is what the site suggested to add to your CSS for the submit image: font-size: 0px; display:block; line-height: 0px; But like I said, this didn't work for me because it dropped the image down to the next line. So I just removed the font-size: 0px; display:block; lines and it works great! Hope this helps everyone else with their IE woes!!
Last edited by industrialpost; 05-31-2009 at 02:30 AM. |
|
|
|
|
|
#16 |
|
Moderator
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,490
Rep Power: 43 ![]() ![]() |
Thanks for posting back the solution that you found. Hopefully others will benefit from that. Thank you for taking the time to do so.
__________________
Mike-N-Tosh IndianaPC.org - A community website (v3.1.10 Developer - heavily modified) Sandbox (v3.1.10, v4.0.9, 4.1.3) Visit My blog for tips, tricks, tutorials, reviews for 68 Classifieds as well as my store with Templates, Mods & Docs Web Hosting | Web Design & Development | 68 Classifieds Customizations I am not a 68C employee, just a user and try to help out |
|
|
|
|
|
#17 |
|
Moderator
Join Date: Mar 2008
Posts: 950
Rep Power: 25 ![]() |
That is good. So you will need to use conditional css so it loads for the browsers you want. For example,
<link rel="stylesheet" href="templates/{$smarty.const.MAIN_TEMPLATE}/css/style.css" type="text/css" /> <!--[if IE]> <link rel="stylesheet" href="templates/{$smarty.const.MAIN_TEMPLATE}/css/ie.css" type="text/css" /> <![endif]--> this would be for all I.E versions. There is a thread all about extending this principle to individual I.E versions. We do what you ask in the Nustyle template but it is too long winded to put all the code here. PM me if you want the code that you can modify with you own image etc. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Modify 68 classifieds so users can submit trade offers | naidu01 | v4 Questions & Support | 2 | 01-18-2009 08:13 AM |
| Back Button for modify listing images | bowers01 | Feature Requests | 0 | 10-28-2008 04:32 AM |
| <button> as Submit button | bowers01 | HTML, CSS, and Design Help | 1 | 09-27-2008 05:21 AM |
| Modify Button ? | VikingBEAR | v4 Questions & Support | 1 | 05-10-2008 11:57 PM |
| Submit button appearance | free2take | v3.1 Questions & Support | 4 | 03-13-2007 06:02 PM |