question to flist -- lj coding
Oct. 28th, 2011 04:39 pmI thought that I would be able to find the answer to this question very easily, but my go-to-sites for LJ coding and various word permutations on google haven't uncovered the answer.
Can anyone tell me the html coding which allows me to insert a warning/spoiler as masked text in a region of block highlighted colour, which you select to reveal?
I have figured out how to change the colour of my text to match *my* background, but when posted and viewed through other flists if my background is different to the flist-background, presumably it would be visible?
Can anyone tell me the html coding which allows me to insert a warning/spoiler as masked text in a region of block highlighted colour, which you select to reveal?
I have figured out how to change the colour of my text to match *my* background, but when posted and viewed through other flists if my background is different to the flist-background, presumably it would be visible?
no subject
Date: 2011-10-28 04:26 pm (UTC)I've never used these, but I saved them 'just in case'. Try:
Warning: (<a title="Skip this Warning" href="#skip">skip</a>) <span title="This is a warning that is also a spoiler. Highlight to read." style="color:#999;background-color:#999;">Warning text goes here.</span>
<a name="skip"></a>Summary:
or:
(<a title="Skip this Warning" href="#skip">skip</a>)<span title="This is a spoiler. Highlight to read." style="color:#666;background-color:#666;"> Text-you-want-to-be-hidden-under-the-gray-bar </span><a name="skip"></a>
You'll have to try them out to figure out spacing, etc. I hope it helps.
.
no subject
Date: 2011-10-28 04:40 pm (UTC)one of those go-to-sites I mentioned -- that's yours. Bookmarked back in 2005 \o/
no subject
Date: 2011-10-28 04:55 pm (UTC)Hmm... come to think of it, I'm not sure I ever put this info up; I'll have to check. I have it saved in a Word document in my 'StarWatcher fic' folder. I have all the codes I use for posting, template for announcing new fic, stuff like that in the same document, so I can always find it.
Anyway, de nada!
.