Body: <p>My first epub looks fine when viewed in iBooks, but it has a problem in Kindle.</p>
  
  <p>Hyperlinked home page icons have a white background. So a triangular image just looks like a big white square.</p>
  
  <p>I added this to my style sheet:</p>
  
  <pre><code>a { background: none; }
  </code></pre>
  
  <p>But that doesn't work.</p>
  
  <p>Ideally, I'd like all my linked images to have neither a background color nor an underline.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-07T08:40:33.580Z
Comments.Text: Which format are you using for these images?
Comments.UserDisplayName: Sekhemty
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-07T16:25:55.610Z
Comments.Text: Are you using transparent .png images, by any chance?
Comments.UserDisplayName: beaker
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-07T22:35:14.453Z
Comments.Text: Yes, they're png's with transparent backgrounds. In the meantime, I may have answered my own question. Instead of a { background: none; } I should have entered a:link { background: none; } I haven't tested it in a finished epub yet, but it's working in Sigil.
Comments.UserDisplayName: WordBear
Tags: <css>
Title: Removing white background from linked images
UserDisplayName: WordBear
ThreadText: # Removing white background from linked images
  
  (Asked by: username_0 on 2017-06-07)
  
  My first epub looks fine when viewed in iBooks, but it has a problem in Kindle.
  Hyperlinked home page icons have a white background. So a triangular image just looks like a big white square.
  I added this to my style sheet:
  a { background: none; }
  
  But that doesn't work.
  Ideally, I'd like all my linked images to have neither a background color nor an underline.
  
  **Tags:** css
  
  > **Comments:**
  > **username_1**: Which format are you using for these images?  
  > **username_2**: Are you using transparent .png images, by any chance?  
  > **username_0**: Yes, they're png's with transparent backgrounds. In the meantime, I may have answered my own question. Instead of a { background: none; } I should have entered a:link { background: none; } I haven't tested it in a finished epub yet, but it's working in Sigil.  
  
  ---
  
  ## 0 answers
  
  