Jump to content

Wikipedia:Reference desk/Archives/Computing/2022 October 23

From Wikipedia, the free encyclopedia
Computing desk
< October 22 << Sep | October | Nov >> October 24 >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


October 23[edit]

Having colored underlined text.[edit]

Where in the computers world can you have underlined text, where the color of the underline, and color of the text, are different colors? Can that not be done in Microsoft Word, and HTML? What platforms and what website languages can allow for that? 67.165.185.178 (talk) 15:52, 23 October 2022 (UTC).[reply]

It's possible in my 2007 version of Word, next to the 'U' button is a drop-down menu with 'Underline Color'. -- AxG /   17:05, 23 October 2022 (UTC)[reply]
So what happens if it gets pasted into Wordpad, or some platform where it only recognized same-color. There likely is a precedence? Probably the word-color. 67.165.185.178 (talk) 18:46, 23 October 2022 (UTC).[reply]
I just tested it. Red underline pastes in just fine, but when I tried orange and blue underlines, they convert to black underline (my texts were all black). Matt Deres (talk) 20:44, 23 October 2022 (UTC)[reply]
You can do this in HTML with the CSS text-decoration-color property. [1] CodeTalker (talk) 19:03, 23 October 2022 (UTC)[reply]

Matt Deres, your response (of only being able to paste red underlines and not blue or orange) reminds me of an e-mail I once sent my university, which uses Gmail platform. I sent them.

Greetings, I want to report a bug in the e-mails. Look at these below lines.

Test

Color

Test/Color

If I were to copy/paste the 2nd line, within this e-mail itself, it only pastes the word but without the changed color.

And if I were to copy/paste just the 3rd line, it just includes the 2nd part of it in the correct color. So copy/pasting Text/Color just pastes as Color

But for the below line, copy/pasting works perfectly.

Color

But using double words, does not. Copy/pasting:

Test Test

just pastes as Test

So ctrl c and ctrl v'ing in this e-mail has confusion between some words with and without color, but why copy/pasting the multi-colored word Color works perfectly, is beyond me.

-

And this was my response:

I appreciate that you found a real good bug. You should be able to recreate this bug in private gmail as well. The user interface of our university is controlled by Google on its gmail platform. This is used by billions of people all over the world. So, I think that you may directly report to Google from your gmail account. The gmail control panel for our institution does not provide any facility to tailor the user experience or remove any programming errors.

I hope it helps.

That e-mail was sent in Feb. 2021, I wonder if Google fixed that bug lol. 67.165.185.178 (talk) 01:33, 24 October 2022 (UTC).[reply]