On 12/28/05, David Hucklesby <[EMAIL PROTECTED]> wrote: > Hi Yazmin, > > So far I don't see a direct reply to your question. With limited > functionality, the answer is yes. Try using :active as well as / instead > of :focus on the link to condition the visibility of the SPAN inside it.
While it is true that modern browsers support this kind of functionality this does still not make it a good idea. A link like <a href="#">Address Info <span>Our Company our road and and and and and</span></a> Does not make much sense without the visual presentation. JavaScript and DOM on the other hand can easily turn a construct like <h4 class="trigger">Address Info</h4> <address> ... </address> Into a clickable pair, which is also keyboard accessible. I am not at home at the moment which is why I cannot set up a quick test, but the idea is explained at: http://www.onlinetools.org/articles/unobtrusivejavascript/cssjsseparation.html I found an older test that was an answer on thelist once, that does this, but needs some fixing (return false on the click function for starters): http://onlinetools.org/tests/MMtest.html -- Chris Heilmann Blog: http://www.wait-till-i.com Writing: http://icant.co.uk/ Binaries: http://www.onlinetools.org/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/