Moon wrote:
Quote:
Jukka K. Korpela schrieb:
>
Quote:
>Just three questions:
>1) Why Transitional, for an apparently new page?
>
Cause I'm not up to current stuff obviously and I thought to put the
browsers in a more less strict mode.
You have a wrong idea of what Transitional is for, then. It is for _pages_
in transition or, to be honest, for _legacy_ pages.
Quote:
>
Cause I've just started with nothing online yet?
You didn't get the point, apparently. So please read the group for a week or
two, or check back the Google archives, and you'll understand.
Quote:
Quote:
>You're not telling what kind of an element has id="spoiler", but the
>crystal ball tells that it is not a link element.
>
Actually the *subject* tells you that it's no link!
The subject might be wrong (people often tell things about their pages that
aren't true, and get confused, because they refuse to reveal the URL that
tells the true story - or, worse still, modify the demo page content after
posting its URL!). Moreover, the Subject line is supposed to stand on its
own, and so is the message body. It is bad practice to imply the heading in
the text, on Usenet and elsewhere.
No it isn't. It's a snippet of code, not a URL.
Quote:
{
background: #000000;
color: #000000;
}
That's not even a complete CSS rule: it lacks the selector part.
Quote:
#spoiler:hover {
background: #FFFFFF;
}
<div id="spoiler">This is spoiler text only readable when mouse
hovers over it.</div>
And it's still a _bad_ approach, and it's probably still true, though not
confirmable in the absence of a URL and other data, that you are using IE 6,
which simply don't support that.
By the way, class="..." is preferable to id="..." in cases like this. There
is nothing in the concept of a spoiler that says that a page may contain
only one spoiler.