|
Posted by Jonathan N. Little on 02/24/06 03:30
Stefan Mueller wrote:
> The following code works fine in IE and Mozilla however it doesn't work in
> Opera.
>
> <img src= 'my_pic.gif' tabindex = '0'>
> <input type = 'text'>
> <p>
> <img src= 'my_pic.gif' tabindex = '0'>
> <input type = 'text'>
> <p>
> <img src= 'my_pic.gif' tabindex = '0'>
> <input type = 'text'>
>
> How can I set a tab stop (tabindex) on a image in Opera?
>
> I need a focused image e.g. to color a ckeckbox. Here is an example
> http://nrkn.com/customCheck/
Look at the spec, tabindex is not supposed to be an attribute of the IMG
element:
http://www.w3.org/TR/html4/interact/forms.html#adef-tabindex
'The following elements support the tabindex attribute: A, AREA, BUTTON,
INPUT, OBJECT, SELECT, and TEXTAREA.'
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|