how to "black out" a text section?

Ctuchik

FH is my second home
Joined
Dec 23, 2003
Messages
10,479
so, being a http noob i was curious how to black out text sections like at the bottom of this page. Ctrl+Alt+Del

i know we have spoiler tags in this forum but theres other forums i'm with that dont :)
 

Cadelin

Resident Freddy
Joined
Feb 18, 2004
Messages
2,514
You set the background colour to the same as the font colour, in this case it is black. In a browser like Firefox you can get the source code of the page which reveals this:

Code:
<br><br><span style="background-color: rgb(0, 0, 0);">If you stumble across Vault 112 </span><span style="font-style: italic; background-color: rgb(0, 0, 0);">before</span><span style="background-color: rgb(0, 0, 0);"> you've visted the GNR, do not enter.</span><br><br>

There are plenty of html guides on the web. I used this one when I learnt how to make my first website.
 

Ctuchik

FH is my second home
Joined
Dec 23, 2003
Messages
10,479
aha, thanks. i tried looking through the sourse code but i got a headache just trying to find it ;)


bleh, it doesent work on the forum i try to post on :(
 

Rubber Bullets

FH is my second home
Joined
Dec 22, 2003
Messages
1,453
it's black text on a black background
you could try with green here I suppose
you just need to find the right green
"Ahh looks like this is the right one. Can't find a way to set the background colour though."


"Too slow, and a worse answer too!"
 

Cadelin

Resident Freddy
Joined
Feb 18, 2004
Messages
2,514
Most browsers have a search function. :)

I just clicked find and then looked for "GNR" which was part of the hidden text.
 

Ctuchik

FH is my second home
Joined
Dec 23, 2003
Messages
10,479
owell, the forum i was trying to do it on didnt support it >.<

well it did but didnt have black on black as an option.. and white didnt work either as the posts when posted have a grey background >.<
 

Users who are viewing this thread

Top Bottom