@Argosciv@srayzie, do you know if there is a way to highlight text in a different color to make it stand out from the rest of the text? In CSS? That would sure be handy!
Nah I tried some css options myself and then had a dig around. I'll explain with the following example:
Keeping in mind that basic text in a post/comment, when parsed, is encapsulated by <p></p> element tags & that there is currently no way for us(users) to assign attributes to these tags.
html:
<p id="this_can_be_targeted_by_css">This cannot be targeted by css.</p>
css for above:
#[id*='can_be_']{color: red;}
Result: (text would be colored red, because we targeted elements with an id attribute that contains 'can_be_')
This cannot be targeted by css.
In short, you can target an element based on the value(s) of its attribute(s), but not by any text within the element itself. Make sense?
view the rest of the comments →
Vindicator ago
@Argosciv @srayzie, do you know if there is a way to highlight text in a different color to make it stand out from the rest of the text? In CSS? That would sure be handy!
argosciv ago
Example of text you might like highlighted?
Vindicator ago
Key pizzagate related elements in the Laybourne stuff you've added -- like Kindercare. So it jumps right out at folks.
argosciv ago
Sorry, correction, it appears that you cannot target an element by searching the text itself for a phrase.
@srayzie
Vindicator ago
It seems like it would be possible, since the text changes color when it's made into an embedded hyperlink.
argosciv ago
Nah I tried some css options myself and then had a dig around. I'll explain with the following example:
Keeping in mind that basic text in a post/comment, when parsed, is encapsulated by <p></p> element tags & that there is currently no way for us(users) to assign attributes to these tags.
html:
css for above:
Result: (text would be colored red, because we targeted elements with an id attribute that contains 'can_be_')
This cannot be targeted by css.
In short, you can target an element based on the value(s) of its attribute(s), but not by any text within the element itself. Make sense?
@srayzie
Vindicator ago
I think so? O_o