18 Replies Latest reply on Aug 2, 2011 6:41 AM by BobLevine

    Getting rid of underlines in epub hyperlinks

    achillesnyc Level 1

      I'm working on an epub.

       

      The table of contents has hyperlinks so the reader can click on the word "Chapter One" and will automatically be taken to Chapter One in the e-pub.

       

      However, these hyperlinks now have bright blue underlines beneath each work that is a clickable link. It looks really bad, (like poor digital design from 10 years ago.) Is there anyway to get rid of these underlines? It's something that is happening automatically. I didn't do anything to choose them.

        • 1. Re: Getting rid of underlines in epub hyperlinks
          markerline Level 4

          If you can apply CSS styles to an ID document then the answer becomes yes, it is possible to remove the underline.  But do you know

          if it is possible to apply CSS styles?

          • 2. Re: Getting rid of underlines in epub hyperlinks
            BobLevine MVP & Adobe Community Professional

            Edit the CSS. Add text-decoration: none to the style for the links.

             

            Bob

            • 3. Re: Getting rid of underlines in epub hyperlinks
              BobLevine MVP & Adobe Community Professional

              Just edit the CSS after export.

               

              Bob

              • 4. Re: Getting rid of underlines in epub hyperlinks
                achillesnyc Level 1

                Hi Bob,

                 

                Thanks for our reply.

                 

                When I open up the CSS file, (called template.CSS,)

                 

                The code for each entry already says:

                 

                     text-decoration : none;

                 

                 

                achillesnyc

                • 5. Re: Getting rid of underlines in epub hyperlinks
                  Steve Werner Adobe Community Professional & MVP

                  How are you previewing your EPUB files? I think some eReaders always display underlines as I recall.

                  • 6. Re: Getting rid of underlines in epub hyperlinks
                    BobLevine MVP & Adobe Community Professional

                    Can you post the CSS file somewhere?

                     

                    Bob

                    • 7. Re: Getting rid of underlines in epub hyperlinks
                      achillesnyc Level 1

                      Here it is:

                      The items that say Chapter Header are the items that serve as links in the Table of Contents.

                       

                      Thanks,

                       

                      Achillesnyc

                       

                       

                       

                       

                       

                      @page

                      tbody, thead, tfoot, tr, td, th {

                           border-style : inherit;

                           border-width : inherit;

                           border-color : inherit;

                      }

                      .leftFloat

                      .rightFloat

                      span.text {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-italic {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : italic;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-1 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-italic-1 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : italic;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.Text {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.Text-Semi-Bold {

                           font-family : "Adobe Caslon Pro Bold", serif;

                           font-weight : bold;

                           font-style : normal;

                           font-size : 0.83em;

                      }

                      span.text-2 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-italic-2 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : italic;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-3 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-4 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-5 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-6 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-italic-3 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : italic;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.Text-1 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.Text-Semi-Bold-1 {

                           font-family : "Adobe Caslon Pro Bold", serif;

                           font-weight : bold;

                           font-style : normal;

                           font-size : 0.83em;

                      }

                      span.text-bold- {

                           font-family : "Adobe Caslon Pro Bold", serif;

                           font-weight : bold;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-7 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-italic-4 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : italic;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-8 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-9 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-italic-5 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : italic;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.legal-text {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.67em;

                      }

                      span.text-10 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-italic-6 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : italic;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-11 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-italic-7 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : italic;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-12 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-13 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-14 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-italic-8 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : italic;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.Text-2 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.Chapter-header-2 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-15 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-italic-9 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : italic;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-16 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-italic-10 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : italic;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-17 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-italic-11 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : italic;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-18 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-italic-12 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : italic;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-19 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.Text-3 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.Text-Semi-Bold-2 {

                           font-family : "Adobe Caslon Pro Bold", serif;

                           font-weight : bold;

                           font-style : normal;

                           font-size : 0.83em;

                      }

                      span.text-italic-13 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : italic;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-20 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-21 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-italic-14 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : italic;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-22 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      span.text-italic-15 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : italic;

                           font-size : 0.83em;

                           color : #000000;

                      }

                      p.centered-element {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px;

                      }

                      p.de-text-no-indent {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.de-text-no-indent-1 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-1 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.Rule {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 11px 0px 14px 0px;

                      }

                      p.de-text-semibold {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : 600;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-text-no-indent-2 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 7px 0px;

                      }

                      p.de-chapter-header-2 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 30px 0px;

                      }

                      p.rule {

                           font-family : "Adobe Caslon Pro Bold", serif;

                           font-weight : bold;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 11px 0px 14px 0px;

                      }

                      p.de-text-semibold-1 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : 600;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-text-no-indent-3 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-3 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.Rule-1 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 11px 0px 14px 0px;

                      }

                      p.de-text-no-indent-4 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-4 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.de-text-no-indent-5 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-5 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.de-text-no-indent-6 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-6 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.de-text-no-indent-7 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-7 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.Basic-Paragraph {

                           font-family : Times, serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 1em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.2;

                           text-align : left;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px;

                      }

                      p.de-text-semibold-2 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : 600;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-text-no-indent-8 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-8 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 1em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.09;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.rule-1 {

                           font-family : "Adobe Caslon Pro Bold", serif;

                           font-weight : bold;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 11px 0px 14px 0px;

                      }

                      p.de-text-semibold-3 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : 600;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-text-no-indent-9 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-9 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.de-text-no-indent-10 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-10 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.de-text-no-indent-11 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-11 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.de-text-centered {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.legal-text {

                           font-family : Times, serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 1em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.2;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px;

                      }

                      p.de-text-no-indent-12 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-12 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.Rule-2 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 11px 0px 14px 0px;

                      }

                      p.de-text-no-indent-13 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-13 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.de-text-no-indent-14 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-14 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.Rule-3 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 11px 0px 14px 0px;

                      }

                      p.de-text-no-indent-15 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-15 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.de-text-no-indent-16 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-16 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.Rule-4 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 11px 0px 14px 0px;

                      }

                      p.Basic-Paragraph-1 {

                           font-family : Times, serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 1em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.2;

                           text-align : left;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px;

                      }

                      p.de-text-no-indent-17 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-17 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 1em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.09;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.de-text-no-indent-18 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-18 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.de-text-no-indent-19 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-19 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.de-text-no-indent-20 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-20 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.de-text-no-indent-21 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-21 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.Rule-5 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 11px 0px 14px 0px;

                      }

                      p.de-text-no-indent-22 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-22 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 30px 0px;

                      }

                      p.de-text-no-indent-23 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-23 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 30px 0px;

                      }

                      p.rule-2 {

                           font-family : "Adobe Caslon Pro Bold", serif;

                           font-weight : bold;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 11px 0px 14px 0px;

                      }

                      p.de-text-no-indent-24 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-24 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.de-text-no-indent-25 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-25 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.Rule-6 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 11px 0px 14px 0px;

                      }

                      p.de-text-no-indent-26 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : justify;

                           color : #000000;

                           text-indent : 0px;

                           margin : 0px 0px 13px 0px;

                      }

                      p.de-chapter-header-26 {

                           font-family : "Adobe Caslon Pro", serif;

                           font-weight : normal;

                           font-style : normal;

                           font-size : 0.83em;

                           text-decoration : none;

                           font-variant : normal;

                           line-height : 1.31;

                           text-align : center;

                           color : #000000;

                           text-indent : 0px;

                           margin : 40px 0px 26px 0px;

                      }

                      p.para-style-override-1 {

                           text-align : center;

                           margin-top : 0em;

                           margin-bottom : 0em;

                      }

                      div.Basic-Text-Frame {

                      }

                      • 8. Re: Getting rid of underlines in epub hyperlinks
                        achillesnyc Level 1

                        Hi Steve,

                         

                        The e-pub is being previewed in adobe Digital Editions.

                         

                        Allen

                         

                        allenmohr@mindspring.com

                         

                        212 366 1886

                        • 9. Re: Getting rid of underlines in epub hyperlinks
                          Steve Werner Adobe Community Professional & MVP

                          I'm pretty sure it's Adobe Digital Editions. I'm looking at Elizabeth Castro's inside TOC in her sample book "Walden" on my iPhone in iBooks. The TOC shows blue type but no underlines.

                           

                          When I look at "Walden" previewed in Adobe Digital Editions, it shows blue underlines.

                          • 10. Re: Getting rid of underlines in epub hyperlinks
                            BobLevine MVP & Adobe Community Professional

                            Yikes.

                             

                            Try adding this:

                             

                            a:link {
                                text-decoration: none;

                            }

                            • 11. Re: Getting rid of underlines in epub hyperlinks
                              Steve Werner Adobe Community Professional & MVP

                              It's because of stuff like that that you can't count on Adobe Digital Editions for just a quick preview. You have to check on other eBook readers: Caliber, Nook, etc.

                              1 person found this helpful
                              • 12. Re: Getting rid of underlines in epub hyperlinks
                                BobLevine MVP & Adobe Community Professional

                                Exactly. Always view on the device that you're going to output to.

                                 

                                I've used the prior CSS entry that I gave you successfully on the iPad with iBooks.

                                 

                                Bob

                                • 13. Re: Getting rid of underlines in epub hyperlinks
                                  achillesnyc Level 1

                                  THANK YOU.

                                   

                                  Bob Levine gets the gold star. This piece of code added to the template.css solves the problem.

                                   

                                  Just so the novices have a clearer idea of what needs to be done:

                                   

                                  The default setting for Hyperlinks seems to be to Underline the text that is made into a hyper link. The underline does not appear in InDesign but it is visible when the e-pub is displayed in Adobe Digital Editions. It seems that the underline will appear in some e-readers and not others.

                                   

                                  As with numerous aspects of producing e-pubs in InDesign, there doesn't seem to be anything you can actually do in InDesign to control this default setting.

                                   

                                  When you export you InDesign file to an e-pub, InDesign creates code that translates the information in the InDesign file to something that can be read on an e-reader. In order to get rid of the underlines on the hyperlinks, you would need to go into the encrypted code inside the e-pub file and edit it yourself.

                                   

                                  To do this, you need a program that will open the e-pub file's encoded elements and allow you to edit them.

                                   

                                  In this particular case you need to find the template.css file which is inside the OEBPS folder, (often called the book folder.)

                                   

                                  Add the code:

                                   

                                  a:link {

                                      text-decoration: none;

                                  }

                                   

                                  In the case of my book, I added this code after the Float tags and before the Span tags.

                                   

                                  If you are not comfortable editing  your own CSS code, forget it. You would not be able to get rid of the underlines on the Hyperlinks in those readers they happen to appear in.

                                   

                                  As with all things Adobe: everything is way more complicated than it appears. And nothing really does everything you would expect.

                                   

                                  How desperately we need a program that would let someone actually design an e-pub.

                                   

                                  Until that happens thanks to the masters of the code.

                                   

                                  Achillesnyc

                                   

                                  Not for an even more arcane question: How do I make this issue as "Answered"?

                                  • 14. Re: Getting rid of underlines in epub hyperlinks
                                    achillesnyc Level 1

                                    Many thanks to Bob Levine. His code did indeed work and the Hyperlinks appear in Adobe Digital Editions without underlines.

                                     

                                     

                                    • 15. Re: Getting rid of underlines in epub hyperlinks
                                      BobLevine MVP & Adobe Community Professional

                                      I'm glad it worked, not that I had any real doubt.

                                       

                                      I'll step back up on my soapbox once again and preach the need to learn HTML and CSS for anyone that has any inclination to get into the epub business.

                                       

                                      Additionally, InDesign CS5.5 is a major step forward anyone that has invested the time into learning CSS and HTML. The map styles to tags feature makes styling the HTML with CSS quite easy but there is simply nothing out there that eliminates the need to edit the code entirely. I've said it before and I'll say it again...Epub represents a better opportunity for web designers than it does for print-only designers.

                                       

                                      Bob

                                      • 16. Re: Getting rid of underlines in epub hyperlinks
                                        achillesnyc Level 1

                                        Thanks again.

                                         

                                        From my soapbox I would add their is also an extraordinary opportunity for Adobe, or anyone else out there, to come up with a program for creating e-pubs, like Dreamweaver is supposed to be for websites, that would allow someone to work on design and code with the option of split screen access.

                                         

                                        Tip of the day: when you actual get into editing your code for an e-pub, you can open your template.css file in Dreamweaver and it actual is not a bad resource for editing code -- Might save you the trouble of downloading one of the many code editing programs.

                                         

                                        Thanks again.

                                         

                                        Achillesnyc

                                        • 17. Re: Getting rid of underlines in epub hyperlinks
                                          [Jongware] Most Valuable Participant

                                          achillesnyc wrote:

                                           

                                          From my soapbox I would add their is also an extraordinary opportunity for Adobe, or anyone else out there, to come up with a program for creating e-pubs, like Dreamweaver is supposed to be for websites, that would allow someone to work on design and code with the option of split screen access.

                                           

                                          Sigil is designed as such, and we have had some success with it.

                                           

                                          Unfortunately, Sigil is very much a work-in-progress and not as stable as one would hope, and of course the entire epub platform is not so much a "platform", more a loose stack of slippery round boulders. Our clients' demands soon went beyond what was comfortably possible with Sigil, so I introduced my colleagues to the wonders of source code editors :-/

                                          • 18. Re: Getting rid of underlines in epub hyperlinks
                                            BobLevine MVP & Adobe Community Professional

                                            FWIW, I use Dreamweaver to edit Epubs and anyone who tries to tackle DW without solid HTML and CSS skills is in for a world of hurt.

                                             

                                            Bob