IE Specific Problem

  • ben_sigma
  • Beginner
  • Beginner
  • User avatar
  • Joined: Mar 12, 2008
  • Posts: 58
  • Loc: South Australia
  • Status: Offline

Post August 7th, 2008, 5:44 pm

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
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post August 7th, 2008, 5:44 pm

  • oskillzzo
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Jul 04, 2008
  • Posts: 50
  • Status: Offline

Post August 7th, 2008, 7:56 pm

# #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
  • Joined: May 29, 2005
  • Posts: 1417
  • Loc: 55° N, 3° W
  • Status: Offline

Post August 8th, 2008, 6:44 am

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
  • Joined: Mar 12, 2008
  • Posts: 58
  • Loc: South Australia
  • Status: Offline

Post August 10th, 2008, 9:34 pm

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
  • Joined: May 29, 2005
  • Posts: 1417
  • Loc: 55° N, 3° W
  • Status: Offline

Post August 11th, 2008, 2:10 pm

This page looks about right.
  • ben_sigma
  • Beginner
  • Beginner
  • User avatar
  • Joined: Mar 12, 2008
  • Posts: 58
  • Loc: South Australia
  • Status: Offline

Post August 11th, 2008, 5:08 pm

Thanks Heaps

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 107 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
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.