Forum Moderators: open

Message Too Old, No Replies

Menu cursor change

         

orion_rus

12:11 am on Dec 6, 2004 (gmt 0)

10+ Year Member



Hello world
i have following trouble:
I have a menu, each point of it is a <a> link.<a> link consist of 2 divs, one is image, second is text. When i mouseover to text cursor changes from hand to a simple cursor. But i need to save cursors type. How i can prevent this changing?
Thanks in advance)

whoisgregg

12:23 am on Dec 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sorry for the delay, this is a CSS question:

Either use this code inline:

<a href="#" style="cursor:default;">Test</a>

Or use this code in your head:

<style type="text/css"> 
a { cursor:default; }
</style>

Or better yet, add the ID of the parent element of your list so that only those links use a default cursor, like so:

<style type="text/css"> 
#theIDoftheList a
{
cursor:default;
}
</style>