Quote:
Originally Posted by rogue_ronin
I assume you mean to put the "clues" into a special container. I'm just thinking to put it into a comment. Could you explain more fully?
|
You should definitely read up on CSS, it will make things a lot more clear. But, without going into details, there are three main "identifiers" of what a given CSS option-set should affect:
something { ... } - this CSS applies to tag
something
.something { ... } - this CSS applies to any tag that has (or contains) a class
something
#something { ... } - this CSS applies to any tag that has id (or name)
something.
You can combine and nest these identifiers, but that's not important. The important thing is that if you put your "clues" into your document as either a special tag, or as a tag with a given class, you could style them using CSS quite easily, including the possibility to hide the clue altogether.
E.g.
<h2><clue>Chapter:</clue> Chapter 10</h2> could use a styling such as
clue { display: none; }.
The problem with the above example is that there is no
clue tag in XHTML - you would have to define it yourself. That's why you may want to prefer to use e.g. a span:
<h2><span class="clue">Chapter:</span> Chapter 10</h2> and hide it with
.clue { display: none; }.
Quote:
ps: did you start your regex thread?
|
Nope. I will add to it if someone starts it, but I don't want to start it myself.