Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 12-06-2013, 02:41 PM   #1
slicknick001
Member
slicknick001 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Dec 2013
Device: kindle
Red face Image links without underline

Does anyone know how to get rid of a blue link line under clickable images on kindle?

Here's my code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link href="../Styles/RichmondStyle.css" rel="stylesheet" type="text/css" />
</head>

<body>
<h1>ABOUT THE AUTHOR</h1>

<p>&nbsp;</p>


<p>&nbsp;</p>

<p>&nbsp;</p>

<p class="RPCentredNoIndents"><img alt="Logo" src="../Images/Amazon-small-quality.com.jpg" />&nbsp; &nbsp;<img alt="Logo" src="../Images/Amazon-small-quality.co.uk.jpg" /></p>

<p class="RPCentredNoIndents">Thank you for reading this story. If you enjoyed it, please share your thoughts.</p>

<p class="RPCentredNoIndents">&nbsp;</p>

<p class="RPCentredNoIndents"><a href="http://www.amazon.com/Your-Title-ebook/product-reviews/B00ABCDEFG/%E2%80%9D"><img alt="Logo" src="../Images/Amazon-small-quality.com.jpg" /></a> &nbsp; &nbsp; <a href="http://www.amazon.co.uk/Your-Title-ebook/product-reviews/B00ABCDEFG/%E2%80%9D"><img alt="Logo" src="../Images/Amazon-small-quality.co.uk.jpg" /></a></p>
</body>
</html>
slicknick001 is offline   Reply With Quote
Old 12-06-2013, 05:38 PM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,084
Karma: 5658305
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
What is it with resurrecting (very) old threats with messages that have nothing to do with the original thread? You can easily create a new thread...

Moderator Notice
Moved to a new thread, in the Kindle forum
-Jellby

Last edited by Jellby; 12-07-2013 at 03:45 AM.
Toxaris is offline   Reply With Quote
Old 12-06-2013, 06:15 PM   #3
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,054
Karma: 5936659
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by slicknick001 View Post
Does anyone know how to get rid of a blue link line under clickable images on kindle?

Here's my code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link href="../Styles/RichmondStyle.css" rel="stylesheet" type="text/css" />
</head>

<body>
<h1>ABOUT THE AUTHOR</h1>

<p>&nbsp;</p>


<p>&nbsp;</p>

<p>&nbsp;</p>

<p class="RPCentredNoIndents"><img alt="Logo" src="../Images/Amazon-small-quality.com.jpg" />&nbsp; &nbsp;<img alt="Logo" src="../Images/Amazon-small-quality.co.uk.jpg" /></p>

<p class="RPCentredNoIndents">Thank you for reading this story. If you enjoyed it, please share your thoughts.</p>

<p class="RPCentredNoIndents">&nbsp;</p>

<p class="RPCentredNoIndents"><a href="http://www.amazon.com/Your-Title-ebook/product-reviews/B00ABCDEFG/%E2%80%9D"><img alt="Logo" src="../Images/Amazon-small-quality.com.jpg" /></a> &nbsp; &nbsp; <a href="http://www.amazon.co.uk/Your-Title-ebook/product-reviews/B00ABCDEFG/%E2%80%9D"><img alt="Logo" src="../Images/Amazon-small-quality.co.uk.jpg" /></a></p>
</body>
</html>
Get any Kindle made before the Fire?
Black (and all shades) is beautiful
theducks is online now   Reply With Quote
Old 12-07-2013, 12:55 AM   #4
DomesticExtremis
Groupie
DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.
 
DomesticExtremis's Avatar
 
Posts: 161
Karma: 321698
Join Date: Nov 2012
Device: default
Arrow

Firstly, you probably want to subclass the anchor tag:
Code:
<a class="clkimg" href="http://www.amazon.com/Your-Title-ebook/product-reviews/B00ABCDEFG/%E2%80%9D">
Then add something to the stylesheet:

Code:
a.clkimg {
text-decoration: none;
}
DomesticExtremis is offline   Reply With Quote
Old 12-09-2013, 01:57 PM   #5
slicknick001
Member
slicknick001 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Dec 2013
Device: kindle
Thank you for your suggestion. I tried subclassing, with no text decoration, but the blue underline remains. I've stripped everything out, all files, down to this code, and the problem is still there:


<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>

<style type="text/css">
a:link{color:#0563c1;}
a.clkimg {
text-decoration: none;
border="0";
rel="nofollow"
}
</style>
</head>

<body>
<h1>ABOUT THE AUTHOR</h1>

<p>Thank you for reading this story. If you enjoyed it, please share your thoughts.</p>


<p><a class="clkimg" style="text-decoration:none;" href="http://www.amazon.com/Your-Title-ebook/product-reviews/B00ABCDEFG/%E2%80%9D"><img alt="Logo" src="../Images/Amazon-small-quality.com.jpg" /></a></p>

</body>
</html>
slicknick001 is offline   Reply With Quote
Old 12-09-2013, 01:58 PM   #6
slicknick001
Member
slicknick001 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Dec 2013
Device: kindle
NOTE this might not be relevant, but even when I remove the image, the text 'test' still shows up with an underline using this HTML:

<p><a class="clkimg" style="text-decoration:none;" href="http://www.amazon.com/Your-Title-ebook/product-reviews/B00ABCDEFG/%E2%80%9D">test</a></p>
slicknick001 is offline   Reply With Quote
Old 12-09-2013, 02:02 PM   #7
slicknick001
Member
slicknick001 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Dec 2013
Device: kindle
Here is an image of the offending underlined image in the kindle reader

slicknick001 is offline   Reply With Quote
Old 12-10-2013, 01:35 AM   #8
DomesticExtremis
Groupie
DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.
 
DomesticExtremis's Avatar
 
Posts: 161
Karma: 321698
Join Date: Nov 2012
Device: default
If you take your html fragment, paste it into a .html file, and
view it in a browser, it seems to work fine.
I would conclude that the problem is with Kindle (and Kindle viewer)
not allowing user stylesheet to override the user-agent settings.
DomesticExtremis is offline   Reply With Quote
Old 12-10-2013, 05:06 AM   #9
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 2,027
Karma: 4836606
Join Date: Dec 2010
Device: Kindle PW2
Unfortunately, Kindles don't support text-decoration: none.

Try changing the following line:

Code:
a:link{color:#0563c1;}
to

Code:
a:link{color:white;}
Doitsu is offline   Reply With Quote
Old 12-10-2013, 12:05 PM   #10
slicknick001
Member
slicknick001 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Dec 2013
Device: kindle
Hi Doitsu,
That was very very cunning. Thanks! It worked.
Nick
slicknick001 is offline   Reply With Quote
Old 12-13-2013, 04:23 AM   #11
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 2,586
Karma: 14407087
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
Quote:
Originally Posted by Doitsu View Post
Unfortunately, Kindles don't support text-decoration: none.

Try changing the following line:

Code:
a:link{color:#0563c1;}
to

Code:
a:link{color:white;}
Yes, it was cunning. Right up to the point when someone uses Sienna or Night Mode.

Hitch
Hitch is offline   Reply With Quote
Old 12-13-2013, 06:29 AM   #12
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 2,027
Karma: 4836606
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Hitch View Post
Yes, it was cunning. Right up to the point when someone uses Sienna or Night Mode.
I didn't notice a difference in Sepia mode, and in Night mode a barely noticeable white line is visible under the image that most users will probably mistake for some kind of poorly rendered drop shadow. Did I miss anything else?

BTW, sometimes your quest for the perfect inter-format ebook design reminds me a bit of the quest for the Holy Grail.
Doitsu is offline   Reply With Quote
Old 12-13-2013, 03:55 PM   #13
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 2,586
Karma: 14407087
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
Quote:
Originally Posted by Doitsu View Post
I didn't notice a difference in Sepia mode, and in Night mode a barely noticeable white line is visible under the image that most users will probably mistake for some kind of poorly rendered drop shadow. Did I miss anything else?

BTW, sometimes your quest for the perfect inter-format ebook design reminds me a bit of the quest for the Holy Grail.
Doits:

Not my quest(s). My clients' quest. Please remember, I pretty much never have the luxury of making books for my own reading pleasure, or my own use. 99.99% of what I do is to please someone else's inner (or very outer) artiste. So, my Grail Quests are rarely my own.

Hitch
Hitch is offline   Reply With Quote
Old 12-13-2013, 04:33 PM   #14
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,086
Karma: 1444487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Maybe it is outre artiste?
mrmikel is offline   Reply With Quote
Old 12-13-2013, 05:36 PM   #15
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 2,586
Karma: 14407087
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
Quote:
Originally Posted by mrmikel View Post
Maybe it is outre artiste?


Thanks, mm.

Hitch
Hitch is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove underline from links in epub Amalthia Calibre 6 02-10-2014 09:41 AM
SD card firmware (1.4) image links for AU/NZ sabredog Kobo Reader 37 08-30-2013 04:52 PM
Save image links nickodemos Calibre 3 01-04-2013 01:57 PM
Links: Image replacement methods ckirchho ePub 1 10-22-2012 05:54 AM
Book Designer - Links underline just ONE word? pitolee Sony Reader 21 12-05-2008 11:08 AM


All times are GMT -4. The time now is 10:08 PM.


MobileRead.com is a privately owned, operated and funded community.