2 ms·
Keep in mind that many users highlight text as they read, so don't use some color that makes your text more unreadable.
by wahnfrieden 16y ago
Keep in mind that many users highlight text as they read, so don't use some color that makes your text more unreadable.
- sudont 16y agoRight. And also keep in mind that Firefox will change the selection color based on the inherent background color of the element being selected. So, if you've got a black background of a super-parent element, and an light-colored image background for the parent or the element, your text will highlight white, ensuring that selected text is unreadable in certain situations. Either the posted hack or setting a background color fixes it.
- wahnfrieden 16y agoSeems like a much better solution would be to set a light-colored background color to the element which has the background image.