Posted on 08/13/2020 4:40:50 AM PDT by ChuckR163
I have Firefox with Stylus. Stylus allows me to change styling, including background colors, of certain elements on a page via CSS. I can then apply this CSS to one site only, like Freerepublic.com.
I'm able to change the background color of my username on this site in a reply like this:
a[href*="chuckr163"] { background-color: #99d78b !important; }
But how do I change the background color of my whole reply but not anyone else's reply? All replies have a CSS selector of "div.a2" but I don't want to color all replies, just my own replies.
Thank you!
Call Bill Gates
The obligatory...”Are you logged in?”.
id be very surprised if you could use css of fr. I used to use the span html tag to do something similar.
The bigger question is; why would you want to subject everyone to seeing a nasty sherbert/sherbet green background on all your posts?This would not affect anyone that views the web page but me. That's how Stylus works.
I’m not familiar with it, but you’ve already figured out “selectors” from glancing at their instructions. If you combine that logic with “conditionals” and “iterations”, you might can build up a list of all posting blocks, and then spit out a color when the posting block matches your name. Assuming that’s possible, it’ll take a bit of finagling.
It would only be visible to him.
Lol...
I think he was being funny. :)
So, you’re asking for a ‘Light Green’ New Deal?....................
Put it in a frame.
So, youre asking for a Light Green New Deal?....................I fart in the general direction of any Commie Green New Deal.
< html>
< head>
< style>
body {background-color:grey;}
< /style>
< /head>
< body>
< p>test test test background
< /body>
< /html>
Questions? Yea Ive got questions! Why cant I stay logged on to FR? That new security feature logs me out every time I close the viewer.no matter what level of security I choose Im randomly logged off FR, while at home, or traveling. It would be nice not to have to log back in each time I open Safari to read FR. luckily my face recognition saves my username and password, but Cmon man! Im wasting time logging in when I could be reading great FR responses!
iPhone XR
Safari explorer.
You’re an old timer here, you should remember all the chaos those nasty italians used to create here.....
A pastor once told me that the answer to a “Why?” question is always “because you sin”.
Know what? I think that might be a Safari/Apple problem. I am fighting that very same issue right now with one of the members on my website. She is the only one using Safari on an apple mobile device... ipad. And this is happening to her a lot.
I have done everything I can with the site yet it is still happening. And only to her with the Safari and the apple device. The “remember me” will not work for her at all, and even page changes kick her out. So I am now leaning heavily towards the problem being on her end and browser.
Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.