> home
> how we work
> who we're working for
> about us
> publications
> buy apache essentials
> client login

play
static·red
edmonton and area web development

Current Projects

Edmonton Weather


>>Le blog.

speakeasy archives


HTML is a wonderful thing...

<< cool stuff | Main | pretty cool. >>

Added a new feature for HTML4 compliant browsers... 'accesskey'

This is only instituted on the menu system. Hit alt and the underlined letter in the menu (ie: alt-f for friends) and enter, and the menu will appear... it's kind of a neat feature to incorporate, especially for keyboard jockeys like myself.

Here's how you do it (it's so damned easy):

<a href="somewhere.html" accesskey="s"><u>S</u>omewhere</a>

This works best if you're specifying a text-decoration: none in your stylesheet for links. You could easily change the underline to a bold, or some other mechanism, of course.

As well, I discovered how to make text blink again. Simply create the following class:

.blink {
text-decoration: blink; }

and enter it in like this:

<span class="blink">blink</span>

neat, huh?

Posted by Darren James Harkness on Friday, January 25, 2002 10:05 AM
Trackbacks...


Comments:
>> darren » Friday, January 25, 2002 10:10 AM

bah. it turns out Mozilla and IE both ignore the blink text-decoration. Sadly, this is allowed under the CSS Guidelines.

Ah well, I really only had one use for it anyway...

>> darren » Friday, January 25, 2002 02:46 PM

Another note: Mozilla users don't have to hit enter after pressing the alt-key combination.


Post a comment









Remember personal info?


Comments:


* under no circumstances will your email address be traded for a sack of quarters. No-sirree.