[WikiEN-l] Link formatting suggestion

Alphax alphasigmax at gmail.com
Sun Oct 23 04:25:04 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Timwi wrote:
> 
>> Perhaps you should choose (or design) a skin that doesn't highlight
>> wikilinks unless you glide your cursor over them.
> 
> 
> Well this gave me an idea.
> 
> As far as I understand CSS, it would be possible to make links entirely
> invisible (i.e. indistinguishable from normal text) unless the mouse
> cursor is somewhere within the article content box.
> 
> In other words: Imagine the article is just text, no links. As you
> finish reading the section you were looking for, you want to know if
> there is any further information, so you move your mouse into the text
> and all links go blue and underlined.
> 

div a { text-decoration: none; color: #000000; }
div:hover a { text-decoration: underline; color: #0000FF; }

Unfortunately, AFAIK only Gecko (and possibly KHTML) based browsers will
accept the hover pseudo-class on anything other than anchor elements. I
hope I'm wrong about that.

- --
Alphax                      |   /"\
Encrypted Email Preferred   |   \ /     ASCII Ribbon Campaign
OpenPGP key ID: 0xF874C613  |    X   Against HTML email & vCards
http://tinyurl.com/cc9up    |   / \
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQEVAwUBQ1sQoLMAAH8MeUlWAQgviQf+ONcCyvykN2gxB0V1mOkWnErTvMU1hUvG
WHJ1fO8pp+cGfgr41Hw0XZXr/RUtz/+v4jgcrdgJuNfYnjfOtdJtvPxBUBfesoUs
+2xjONYfZk6mRirURd12+mytqt+x0hmZsCr7h1YEHkwcR+7akHoy3bQoY2Fc5a5d
+VaBR5SaD/Azbvptkq5DMJHtxx63zDZcmHiXknFAVDulVaw3ZGjig4QQdOCpZSH+
WejRtNc0R48EfzZPZMZ8zcEEpv6ff//cEvpj179jOtgXYdT3cuYq8XOmcWSZak8V
UhhijGM/dfwvTj5o/TG26arg44ifMQta2x64Xey99U4fALHBuhHopQ==
=QfM2
-----END PGP SIGNATURE-----



More information about the WikiEN-l mailing list