Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Label with hyperlink(How to remove the underline from hyperlink)
Label with hyperlink [message #1229874] Fri, 10 January 2014 12:23 Go to next message
Claudio Carvalho is currently offline Claudio CarvalhoFriend
Messages: 3
Registered: January 2014
Junior Member
Hi,

Is there a way to remove the underline from Label (hyperlink)?

I changed the hyperlink color using this.getStyle().color = "#4A4A4A" in onRender script, but I wasn't able to change the underline property.

Thanks.

Claudio Carvalho.
Re: Label with hyperlink [message #1230006 is a reply to message #1229874] Fri, 10 January 2014 19:41 Go to previous messageGo to next message
Vassili Safonov is currently offline Vassili SafonovFriend
Messages: 7
Registered: May 2013
Junior Member
same as color, just need to change - text-decoration: none;
Re: Label with hyperlink [message #1232314 is a reply to message #1230006] Thu, 16 January 2014 17:01 Go to previous messageGo to next message
Claudio Carvalho is currently offline Claudio CarvalhoFriend
Messages: 3
Registered: January 2014
Junior Member
There is no such thing as
this.getStyle().textDecoration = "none"

the closest I found is
this.getStyle().textUnderline = "none"

but it doesn't work, I've tried in many ways
Re: Label with hyperlink [message #1247948 is a reply to message #1232314] Sun, 16 February 2014 20:22 Go to previous messageGo to next message
Vassili Safonov is currently offline Vassili SafonovFriend
Messages: 7
Registered: May 2013
Junior Member
http://www.w3schools.com/jsref/prop_style_textdecoration.asp
Re: Label with hyperlink [message #1278000 is a reply to message #1247948] Wed, 26 March 2014 19:25 Go to previous message
Claudio Carvalho is currently offline Claudio CarvalhoFriend
Messages: 3
Registered: January 2014
Junior Member
What I meant is:

There's a property textDecoration in HTML DOM Style,
but not in a Birt property.

There's only the property this.getStyle().textUnderline,
but it's not working.

I've tried the values "none","false","","initial" and nothing seems to work.

Any help will be appreciated.
Previous Topic:How to perform operations on field and perform the final result
Next Topic:birt datasource connection
Goto Forum:
  


Current Time: Tue Apr 23 10:15:16 GMT 2024

Powered by FUDForum. Page generated in 0.03147 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top