Which should render like this in a CSS-enabled browser :
hello
This is the network of our disconnect.
world.
And like this in a text-browser:
hello * This is the network of our disconnect. world.
But it doesn't. Specifically, the leading asterix (which is included to denote a text as a footnote or afternote in user-agents that don't do formatting) is supposed to hidden by assigning it the same colour as the background.
span.content:first-letter {
color:#fff;
}
If you're wondering why I didn't just define the :first-letter's display property as hidden it's not for lack of trying. Based on my experiments it simply doesn't work. Another mystery.
But it only works when the span.content element is displayed as a block. I want to display it inline for foofy design considerations, which since we're talking about CSS is as a good a reason as any.
Actually, I'd also like a last-letter or nth-letter selector so that I could wrap my footnotes in parentheses for text-browsers and then hide them when the CSS kung-fu enters the building.
I want to be able to do the following:
Which should render like this in a CSS-enabled browser :
And like this in a text-browser:
But it doesn't. Specifically, the leading asterix (which is included to denote a text as a footnote or afternote in user-agents that don't do formatting) is supposed to
by assigning it the same colour as the background.If you're wondering why I didn't just define the
:first-letter
's display property ashidden
it's not for lack of trying. Based on my experiments it simply doesn't work. Another mystery.But it only works when the
span.content
element is displayed as a block. I want to display it inline for foofy design considerations, which since we're talking about CSS is as a good a reason as any.Actually, I'd also like a
last-letter
ornth-letter
selector so that I could wrap my footnotes in parentheses for text-browsers and then hide them when the CSS kung-fu enters the building.