Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

How to I make CSS to make the background of my replies light green?
8/13/2020 | me

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!


TOPICS: Computers/Internet; Free Republic Policy/Q&A
KEYWORDS: anothervanity; css; freerepublic; howtoimake; vanity
Navigation: use the links below to view more comments.
first previous 1-2021-4041-42 last
To: ChuckR163
You could place them in a table, in which you use a template with two rows, one for the text you are replying to and another for your reply, and choose the background, fonts, etc for each. Oh I see, when I make the post I should put my text in a table. But I'm trying to do this with CSS without having to change how I post things. Stylus only changes styling of existing tags, it does not insert or delete tags themselves, so I was hoping to use Stylus and CSS.

Sorry: I do not really "speak" hypertext and was providing some work arounds.

41 posted on 08/16/2020 5:35:45 AM PDT by daniel1212 (Trust the risen Lord Jesus to save you as a damned and destitute sinner + be baptized + follow Him)
[ Post Reply | Private Reply | To 40 | View Replies]

To: daniel1212

Good suggestion, I loaded Firefox for my IPhone. Passwords were saved and worked! Now I stay logged in to FR!! Great to not have to go through 4 steps to log in each time I open safari browser.


42 posted on 08/18/2020 5:45:23 AM PDT by 9422WMR (Scamdemic 2020)
[ Post Reply | Private Reply | To 39 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-2021-4041-42 last

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.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson