IE Specific Problem

  • ben_sigma
  • Beginner
  • Beginner
  • User avatar
  • Posts: 58
  • Loc: South Australia

Post 3+ Months Ago

How do i get IE elements to recognize that the mouse is hovering over them...For example

Code: [ Select ]
#header { color: red;}
#header:hover { color: blue;}
  1. #header { color: red;}
  2. #header:hover { color: blue;}


This works in Firefox but not IE. Haven't tried IE7 yet.
Help Appreciated :D
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • oskillzzo
  • Beginner
  • Beginner
  • oskillzzo
  • Posts: 50

Post 3+ Months Ago

# #header { color: red;}
# #header a: hover { color: blue;}

try that, it should work
you forgot the a:

also you should change the red and blue for real color codes.
  • Zwirko
  • Guru
  • Guru
  • User avatar
  • Posts: 1417
  • Loc: 55° N, 3° W

Post 3+ Months Ago

You can't do that with IE without using some kind of scripting or IE's proprietary expression function. What you have above, as the other poster notes, is only going to work for plain old links.

Not sure if you want to go down the messy road of pleasing IE or not...?
  • ben_sigma
  • Beginner
  • Beginner
  • User avatar
  • Posts: 58
  • Loc: South Australia

Post 3+ Months Ago

Yes i am aware that it would be preferable to use color codes rather than "red , blue". That was an example.


Okay i will have a crack at that messy road i think.
Is there anywhere you can refer me to find such code or point me in the right direction??

Thanks
  • Zwirko
  • Guru
  • Guru
  • User avatar
  • Posts: 1417
  • Loc: 55° N, 3° W

Post 3+ Months Ago

This page looks about right.
  • ben_sigma
  • Beginner
  • Beginner
  • User avatar
  • Posts: 58
  • Loc: South Australia

Post 3+ Months Ago

Thanks Heaps

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 45 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.