Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Code In message white background and written in white
Tof
✭
Hi all,
In some messages in PHPBB I have code.
With the export, I have the code in white background and written in white
Example :
http://88.181.151.128:8080/discussion/6784/sauvegarde-adb-sans-root
In CSS Editor, I added the following code but it does not work
.pre { color: #2B333E; }
Thank you for your help
0
Comments
@K17 Un grand merci à toi,
Dans css editor il faut rajouter :
Etant un noob en dev, j'ai une question à ce sujet.
Pourquoi le pre est sans le point devant ?
Merci à toi pour ton retour
Tof
in your example i can see the background is white and the code inside in it is black. What do you want to change?
Thank @jackmaessen
But, just one is in progress,
I discovered by inspecting the page the following errors:
Can you help me ?
Your Range.detach is probably a warning, not an error. But i still don't understand what this has to do with the codebackground and the color inside a codeblock. That was your question?
yes sorry for the off-topic
You have all the same idea for this warning?
Because pre is an element not a class
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
En CSS (et en gros), Le point, c'est une classes, le hashtag, c'est un identifiant et rien du tout c'est un élément.
En gros,
La règle abc{} s'appliquera sur
<abc></abc>
La règle .abc{} s'appliquera sur <* class="abc" />
La règle #abc{} s'appliquera sur<* id="abc" />
ok merci