Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- CSS Spoiler tag


lucy24 - 9:30 pm on Jan 19, 2013 (gmt 0)


The first thing that jumped out at me was {color: transparent;}. In CSS2 this wasn't allowed (only backgrounds could be transparent) even though it works in most browsers and is fine in 3. See what happens if you comment-out this line.

The second thing to jump out was :hover. Techically this group of pseudo-classes only work with interactive elements-- things like <a> that do something when you click on them. This doesn't seem to have changed between 2 and 3. What kind of element will the "spoiler" class be attached to?

Of course there's the javascript option, but then you lose the users with scripting turned off.

:: detour to w3c ::

Oh joy, CSS3 has added a "currentColor" keyword. This will be a big help. (Sorry. Nothing to do with your question, but had to spread the word. Now, if only someone could find the single page that links to all current CSS3 drafts...)


Thread source:: http://www.webmasterworld.com/css/4537418.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com