cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CW
Advocate V
Advocate V

HTML Text Box HELP

Hello.

I'm having a terrible time removing the hideous underline of a URL in the html text box.

As soon as I add the style tag the link disappears. 

This is what I am testing. The text is there but the url text/link has disappeared:

"See our interactive complete Products and Services Catalog <style='text-decoration: none;'><a href=""https://www.google.com/"">here</a></style>."

If I remove the style tags the link reappears along with the underline but I don't like the underline. It's so.....90s. 😬

1 ACCEPTED SOLUTION

Accepted Solutions
v-yujincui-msft
Community Support
Community Support

Hi @CW ,

 

Do you want to remove the underline from the hyperlink?

You can try setting the style inside the <a> tag.

 

I have made a test for your reference.

 

1. Add a HtmlText Control and apply the following formula on its HtmlText property as:

"See our interactive complete Products and Services Catalog <a href=""https://www.google.com/"" style=""text-decoration: none;color:red"">here</a>."

vyujincuimsft_0-1641972553311.png2. I sent this Html text to my email and it worked fine.

vyujincuimsft_1-1641972553314.png

 

Best Regards,

Charlie Choi

View solution in original post

4 REPLIES 4
alaabitar
Solution Specialist
Solution Specialist

Hello,

 

I would suggest to put the "here" in a seperate normal label and on the onselect evet of that label put something like

Launch("https://ww.google.com")

 

Best regards,

Alaa

Hi Alaa. Yes I agree, I was simply trying to make it work but forget that nonsense, I'll just use the launch approach as you mention.

v-yujincui-msft
Community Support
Community Support

Hi @CW ,

 

Do you want to remove the underline from the hyperlink?

You can try setting the style inside the <a> tag.

 

I have made a test for your reference.

 

1. Add a HtmlText Control and apply the following formula on its HtmlText property as:

"See our interactive complete Products and Services Catalog <a href=""https://www.google.com/"" style=""text-decoration: none;color:red"">here</a>."

vyujincuimsft_0-1641972553311.png2. I sent this Html text to my email and it worked fine.

vyujincuimsft_1-1641972553314.png

 

Best Regards,

Charlie Choi

Thanks Charlie. I guess I had the styling in the wrong place. 🙄

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,944)