05-27-2009, 07:58 AM | #1 |
Member
Posts: 18
Karma: 62
Join Date: Mar 2009
Device: none
|
Links: Image replacement methods
Hello,
are there any CSS methods for image replacement that work for epub files? I tried something like: a { background: url(images/linkArrow.png) no-repeat left center; display: block; float: left; height: 14px; text-indent: -5000px; width: 14px; } which lets the image appear and the text disappear, but unfortunately the link is not working anymore (in ADE). I guess Digital Editions (and maybe the Sony Reader, too) moves the "hot area" of that link together with the text outside of the screen. I tried as well: a { background: url(images/linkArrow.png) no-repeat left center; display: block; float: left; height: 14px; overflow: hidden; padding-top: 16px; width: 14px; } Without "overflow: hidden;" the image appeared, but the text that is pushed down by the padding-top was visible as well. But with "overflow: hidden;" the arrow and the topmost part of the link text disappear and only the lower portion of the text are visible. For now I will have to insert the images directly into the links and delete the text. For future versions of course I would like to do this with CSS, because the way the link text is still there, only invisible. But is there a CSS method that works in ADE and Sony Reader? Best regards, Christian Kirchhoff |
10-22-2012, 05:54 AM | #2 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Aug 2012
Location: Munich, Germany
Device: iPad
|
Any Luck?
Hi!
Did you happen to find a working solution? |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SD card firmware (1.4) image links for AU/NZ | sabredog | Kobo Reader | 42 | 03-27-2015 04:11 AM |
reading methods? | ahammer | Lounge | 1 | 07-19-2009 03:51 PM |
Payment methods for WHSmith.co.uk | Croker | Deals and Resources (No Self-Promotion or Affiliate Links) | 38 | 04-21-2009 07:33 PM |
mybebook.com payment methods? | dcalder | HanLin eBook | 2 | 01-07-2009 08:57 PM |