
* Once complete conversation about this topic, kindly Mark and Vote any replies to benefit others reading this thread. * Beware of scammers posting fake support numbers here.
#Selected text color css how to#
Please check the following article to know how to create a new user account: CreateĪ local user or administrator account in Windows 10 Help us determine if the issue is with the user profile. On Windows, the most common selection background color is blue (although it depends on which Windows theme you’re using). When you select text on a webpage the background color is mostly dictated by the operating system of your machine. In new user account, Word will run from scratch and this will It is easily possible to change background color of selected text using CSS. Sometimes, a user's specific information may be corrupted, therefore, text selection background color is appearing black. On your Windows computer and check if you experience the same behavior. New user account ( only for test purpose ) If the issue persists, p lease consider creating a To know how to create new template in Word, seeĪfter creating a custom template, try use it and check if background color is still black or changed to gray. highlight: controls the background color of selected text. highlightText: controls the color of selected text. grayText: controls the color of the disabled text. When defining the color property, you should also define the background color. You can set the background color for many elements, including a table, div, heading, and span element. linkText: controls the color of the hyperlink text. The CSS background-color property allows you to change the background color of an HTML element. Only a few CSS properties can be applied to the ::selection selector: color, background, cursor, and outline. The available color keywords are: windowText: controls the color of text content. Please try creating a new template in Word and then check selection background The ::selection selector matches the portion of an element that is selected by a user. Since the issue is only with Word, I think it might be related to template. May I know if you are using a custom style or template? Neha - * Beware of scammers posting fake support numbers here. If the above suggestion didn’t make any difference, then open your Windows in clean boot and then check if you experience the same issue. Clear the checkbox for any enabled COM add-ins. At the bottom of the dialogīox, change the Manage dropdown to COM add-ins, and select Go. If background color of selected text appears grey, then re-start Word in normal mode, check if you have any custom add-ins installed in Word, click File > Options > Add-Ins.For this, quit Word app (close all Word instances), then follow the steps from this Open Word application in safe mode and then try selecting the text, check if background color of selected text is still black.As you have checked the high contrast settings, it is set to off and the issue appears only in Word application, rest other Office applications are fine, please try the following suggestions and check if there’s any change.
