"::selection" not working for <br/>
I am trying to set a custom color for selected text, DIV, etc.
This did not work for everything, so I used custom for each element...
::selection { /* Safari */ background: #2AC7F4; color:#FFFFFF;} ::-moz-selection { /* Firefox */ background: #2AC7F4; color:#FFFFFF;}
a::selection { /* Safari */ background: #2AC7F4; color:#FFFFFF;} a::-moz-selection { /* Firefox */ background: #2AC7F4; color:#FFFFFF;}
p::selection { /* Safari */ background: #2AC7F4; color:#FFFFFF;} p::-moz-selection { /* Firefox */ background: #FCCB72; color:#FFFFFF;}
But I can't get the seletion color to work for the <br/> spaces...
I tried setting
br::selection
If I have <br/><br/><br/> (thick space between lines), it doesn't appear in my colour, but uses the standard "browser blue"...
I can only solve this by adding: <p><br/><br/><br/></p>, which is absurd, because I'd have to add additional code on every page only to get the space colored...
Thanks in advance...
Robin