Can you change the color of the links in FM HTML5 Output?
I edited the style mapping in FM and it didn't work. I edited every CSS I can find in the output folders and subfolders (by opening in Notepad). The links are all still blue. Any ideas?
I edited the style mapping in FM and it didn't work. I edited every CSS I can find in the output folders and subfolders (by opening in Notepad). The links are all still blue. Any ideas?
I figured out how to do it. My FM book has four chapters. My hypertext links and cross references are formatted with a character style named link. When creating the HTML5 output, FM made a folder for each chapter containing (among other things) a css file for the chapter. I added the the span and the link definition see below) to the css for each chapter (adding it to main.css or jqueryui-custom.css did not work). I'm happy that it works, but it means that I need to add it to the css after generating the HTML5 output (FM overwrites the css files every time you generate the output). If anyone has a better idea, I'd love to hear it!
span.FM_link {
font-style: italic;
font-weight: bold;
color: #4c4c4c;
text-decoration : none ;
letter-spacing: -0.03em;
}
A:link {
color: #000000;
text-decoration: underline;
}
A:visited {
color: #3a3a3a;
text-decoration: underline;
}
A:hover {
color: #000000;
}
A:active {
color: #000000;
text-decoration: underline;
}
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.