>>Is it posible to use css to add a mouse over hover to change the
background colour (not an image) of a div or p? Without there being any
links to "hook on"?<<
Yes, but it requires some scripting to do so. I had a client that
really needed this to happen and it worked very well. I can't remember
where I found this, so I'm sorry for not crediting the author...
But create your div using CSS as you normally would. In the header of
your file, you add this:
<style type="text/css">
body {behavior:url("divhover.htc");}
</style>
The "divhover.htc" looks like so... EDIT: whoops - it's pretty big, so
I'm not going to put it here! However, the script *did* have the uRL
where I got it (so I guess a credit *does* go back!):
http://www.xs4all.nl/~peterned/
Worked like a charm (and validated). Hope that helps you out.
~Shelly
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/