1 post tagged “spoilers”
Since everyone's freaking out about spoilers lately (apparently there's a new wizard movie or something?), I thought this would be a good time to give y'all some tips on how to post them in such a way that will prevent your neighbors from killing you.
The answer, my friends, is to use Vox's embed functionality. It's not just for widgets and quiz results! When used correctly, you can put pretty much anything in to an embed, including HTML that meets your specific needs. In this case, some black text on a black background that will only show up if someone highlights it.
Now, I know what you're saying... You can just set your text color in your post to match your background and call it good, right? Not so. The background of your theme may be white, so you'll set your text color to white, but if your friend's theme has a black background, then his text will all be white already, and when he sees your post in his neighborhood, BAM. Spoiled. De-friended. Ostracized.
Using an embed will guarantee that the background color and text color you want will remain consistent, regardless of where they're being viewed on Vox. Keep in mind, though, that pretty much all bets are off when the content gets out to RSS readers, because there's no telling how much of the formatting they'll respect.
Anyway, how to code your embed:
<div style="background:black; overflow:scroll; width:500px; height:500px">
<font style="color:black">
Spoilers, insults, other stuff you don't want to be readily visible without some kind of a warning
</font>
</div>
That div tag sets you up with a black background, scrollbars in case the content is too long, and the maximum size for a Vox embed. Bonus points if you title the embed with something indicating what it actually is.
If you did it right, here's what you end up with:
I um... haven't read the book.