1 reply [Last post]
lifeis2evil
Offline
newbie
Last seen: 11 years 48 weeks ago
Joined: 2007-12-13
Posts: 1
Points: 0

I have the .ccs file linked to the html file but I can't seem to get this to work

Html file has this:
CODE


CSS file has this:
CODE

#navcontainer a:hover home, #navlist a:hover home
{
cursor: url("http://downloads.totallyfreecursors.com/cursor_files/red1.ani"), url("http://downloads.totallyfreecursors.com/thumbnails/Red1.gif"), auto;
}

lol that was the last combination of wording I did for the css... :?

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 4 years 44 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

You realy are supposed to

You realy are supposed to attempt a description of the problem.

The way things are you are trying to target an element named 'home', there is no such tag/element, what perhaps you meant was to target the fragment ID, that is a named element that begins with a hash sign '#' #home
But write it like this:
#navcontainer a#home:hover, #navlist a#home:hover {}

However I'm not sure why you need the second group selector the first will set the properties on the anchor identified as #home.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me