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

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 11-14-2017, 09:19 PM   #1
bostonquad
Junior Member
bostonquad began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2017
Device: Kindle Paperwhite
conspicuous hyperlinks

When I open my Kindle Paperwhite User's Guide, I see conspicuous hyperlinks.
When I convert an HTML document to .mobi, the links appear rather subtle.

I want conspicuous hyperlinks, like I see in my user guide. Can someone save me a lot of experimenting and clue me in as to the reason my hyperlinks look so subtle?

...is this is an issue with the mobi format?
...or do I need to apply a CSS style to make the links "pop"?
...or does my source need to be something other than HTML?
...or is it something else?

Thanks in advance.
bostonquad is offline   Reply With Quote
Advert
Old 11-15-2017, 04:55 AM   #2
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 82,060
Karma: 76749331
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Yes - you do it with CSS style for the "a" element. You need something like this:

Code:
a {
  text-decoration: none;
}

a:link {
  color: #265301;
}

a:visited {
  color: #437A16;
}
The first of these sets the general style for links (removing the underline). The second sets the colour for links you haven't yet clicked on. The third sets the colour of links you have clicked on. Adapt as required. You need to have the classes in this order - each builds on the one before it.
HarryT is offline   Reply With Quote
Old 11-17-2017, 03:01 AM   #3
bostonquad
Junior Member
bostonquad began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2017
Device: Kindle Paperwhite
I appreciate that someone took time to respond, but the answer doesn't help. I think my question might have been unclear, so I've attached photos to show what I mean.

In the first photo, there's a closeup from the Kindle user guide as it appears on my Paperwhite. Note the clear, obvious underlines indicating a link.

I *like* the underlines; I don't want to remove them. So when I tried the poster's styling for the anchor tag, I took out the first styling so I'd still get underlines. That leaves the color styling, which is not really the issue. But I used it anyway, and what I get can be seen in the 2nd photo. (I used the same words as in the first photo to get a side-by-side comparison.)

Note that in my version, the underline is very thin and subtle. How can I get it to shout "this is a link" like I see in the user guide?
Attached Thumbnails
Click image for larger version

Name:	user guide.jpg
Views:	16
Size:	371.3 KB
ID:	160066   Click image for larger version

Name:	mine.jpg
Views:	15
Size:	343.1 KB
ID:	160067  
bostonquad is offline   Reply With Quote
Old 11-17-2017, 03:41 AM   #4
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 82,060
Karma: 76749331
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Try something like:

Code:
a {
    text-decoration: none;
    border-bottom: 3px solid red;
}
That will remove the standard underline, and replace it with a thicker one

Last edited by HarryT; 11-17-2017 at 05:01 AM.
HarryT is offline   Reply With Quote
Old 11-17-2017, 01:12 PM   #5
bostonquad
Junior Member
bostonquad began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2017
Device: Kindle Paperwhite
Aaahh!
border-bottom!
Thank you very much! :-)
bostonquad is offline   Reply With Quote
Advert
Old 11-17-2017, 01:14 PM   #6
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 82,060
Karma: 76749331
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
You're very welcome .
HarryT 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
Errors with hyperlinks Ti-Ron ePub 4 11-21-2012 10:18 PM
Hyperlinks jtdolphins Which one should I buy? 3 06-18-2011 01:29 AM
Hyperlinks Help ^^ Anarel Workshop 2 08-16-2010 10:12 AM
Coolreader and Hyperlinks CPatrick OpenInkpot 0 03-02-2010 03:30 PM
Hyperlinks MsAstoria Amazon Kindle 0 03-12-2009 08:40 PM


All times are GMT -4. The time now is 05:13 AM.


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