PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: Problem removing anchor underline using text-decoration
   PostPosted: 07 Dec 2011, 05:18 
I am trying to make anchor tags (<a>) look like normal text in the pdf by changing the text color to match the text on the rest of the page, and by removing the underlines.

I am trying to do this by adding a style like this:

a {
color: #000000;
text-decoration: none;
}

The color of the links is changing...but the underlines do not disappear. If I change the value of the text-decoration to 'line-through', I get both the underline and the strike through...so I know text-decoration is supported.

The documentation states that a value of 'none' is supported by text-decoration.

I am using the Java pro version 380

Thanks for any help.


  Subject: Re: Problem removing anchor underline using text-decoration
   PostPosted: 21 Dec 2011, 18:55 
I'm having the same issue.

Just by using

a {
color:black;
text-decoration:none;
}

doesn't remove the underline part, but does change the color.

Thanks!


  Subject: Re: Problem removing anchor underline using text-decoration
   PostPosted: 02 Feb 2012, 08:06 
Hi,

I am facing the similar issue I AM NOT ABLE TO REMOVE THE UNDERLINE FOR <a> tag,
The post above seems to be month or 2 old.
Were you able to find any work around.? Please do reply.

Thanks for any help.


  Subject: Re: Problem removing anchor underline using text-decoration
   PostPosted: 03 Feb 2012, 17:21 
Try
text-decoration: none !important;
If it does not help, try to impact its internal representation.
text-decoration-u: none;

It seems there is a bug with it in the recent versions.


  Subject: Re: Problem removing anchor underline using text-decoration
   PostPosted: 03 Feb 2012, 23:22 
We've just fixed the issue in the development build. The fix will be available with the next maintenance release.



[Reply]     [ 5 posts ] 

cron
Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share