Hello
I have the following problem:
I created an XHTML file with some links. To be exact: On page 2 (after the title) I created a TOC.
The code is like:
Code:
<a href="#link1">chapter 1</a>
<a href="#link2">chapter 1</a>
Now, when I open the xhtml file in Firefox, there is an underline on the links. But I don't want that.
So I use a separate css, and write the following:
Code:
a[href] {
color: black;
text-decoration: none;
}
Now, in Firefox, the underline is gone and the colour is black. But when I convert the xhtml file into an epub with calibre, the underline is back and the colour is blue. I opened the epub and looked at the css and now it said:
Code:
a[href] {
color: blue;
text-decoration: underline;
cursor: pointer
}
So, am I doing something wrong ? Or how can I get rid of the underline ?
Thanks for your help