Groups > Browsers > Opera Browser Page display > Re: Style: cursor




Style: cursor

Style: cursor
Thu, 21 Sep 2006 18:53:19 +020
Hello,

I have this style in my code:

    <span style="cursor:pointer;">lala</span>

Opera error console complains about this (also i don't see a hand pointer):

    HTML style attribute
    Declaration syntax error
    Line 1:
      cursor=pointer;
    ------------^

What is the problem? I looked at the w3 recommendations ( 
http://www.w3.org/TR/CSS21/ui.html#cursor-props ) and they say that it 
applies to all elements, and 'pointer' is in the list.

Cheers,
    Tom 

Post Reply
Re: Style: cursor
Fri, 22 Sep 2006 10:45:30 +080
On Fri, 22 Sep 2006 00:53:19 +0800, Tominator  
<Tom.Muylle@student.kuleuven.be> wrote:

> Opera error console complains about this (also i don't see a hand  
> pointer):
>
>     HTML style attribute
>     Declaration syntax error
>     Line 1:
>       cursor=pointer;

It should be "cursor:pointer" not "cursor=pointer".

HTH,
-- 
Andrew Gregory
Post Reply
about | contact