Advertisement

08.09.2008 at 11:53PM PDT, ID: 23635837
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

Why are these scalable css rollover images not working properly in IE?

Asked by MorningThief581 in Cascading Style Sheets (CSS)

Tags:

I'm having difficulty getting my personal page navigation to work properly in IE.  The navigation works as intended in Firefox and in Safari.  The problem is visible in IE here:
http://www.morningthief.com/fwj/updates.php

The page also has a brief description of the problem I've had implementing the navigation.

As concisely as possible, I'd like scalable (per user's browser magnification settings) rollover image links using css.    The style declaration below for "visibility:hidden" should apply to all rollover-class links and should also denote the current active page (hence the  "#updatesbody..." portion).  On the  actual updates page in Firefox (or Safari), you can see that the Updates link is displayed boldly and the rest of the links respond accordingly.  In IE, the Updates TEXT is displayed boldly, but the Updates LINK is rendered inactive as if the entire anchor tag (which contains the rollover-class image) has been hidden.  All the other links on the page (in IE) also act buggy, flickering as the mouse crosses every pixel.  I've tried formatting this a number of different ways, including denoting the anchors as a class and trying to hide 'a.classname:hover img', but that didn't work either.  Whatever i do, it seems that IE attempts to hide the entire anchor whenever its contained image gets hidden.  Or I could be misinterpreting the problem.

I've included what I believe are the important snippets of code below, though right now the page itself is a pretty empty shell.  Full stylesheets (works in progress) are here:
http://www.morningthief.com/fwj/fwj_main.css
http://www.morningthief.com/fwj/fwj_nav.css

Any suggestions would be greatly appreciated.Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
#headerbg {
	position:absolute;
	top:0em;
	left:0em;
	width:47.5em;
	height:6.26em;
	z-index:0;
}
 
#updateslink {
	top:4.45em;
	left:12.63em;
	height:1.44em;
	width:4.75em;
}
 
#medialink {
	top:4.45em;
	left:19.95em;
	height:1.31em;
	width:3.50em;
}
 
#tourlink {
	top:4.45em;
	left:25.94em;
	height:1.31em;
	width:2.69em;
}
 
#aboutlink {
	top:4.45em;
	left:31.22em;
	height:1.31em;
	width:3.50em;
}
 
#contactlink {
	top:4.45em;
	left:37.38em;
	height:1.31em;
	width:8.50em;
}
 
img.rollover
{
border:none;
margin:0em;
padding:0em;
}
 
a:hover img.rollover, #updatesbody #updateslink img.rollover
{
visibility:hidden;
}
 
 
<div id="header">
    	<img src="img/header.gif" id="headerbg"/>
    	<div id="homelink">
            <a href="index.php"><img class="rollover" src="img/transparent.gif" style="height:5.50em; width:8.13em;"/></a>
        </div>
        <div id="updateslink">
            <a href="updates.php"><img class="rollover" src="img/nav/updates_button.gif" style="height:1.44em; width:4.75em;"/></a>
        </div>
        <div id="medialink">
            <a href="#"><img class="rollover" src="img/nav/media_button.gif" style="height:1.31em; width:3.50em;"/></a>
        </div>
        <div id="tourlink">
            <a href="#"><img class="rollover" src="img/nav/tour_button.gif" style="height:1.31em; width:2.69em;"/></a>
        </div>
        <div id="aboutlink">
            <a href="#"><img class="rollover" src="img/nav/about_button.gif" style="height:1.31em; width:3.50em;"/></a>
        </div>
        <div id="contactlink">
            <a href="#"><img class="rollover" src="img/nav/contact_links_button.gif" style="height:1.31em; width:8.50em;"/></a>
        </div>
</div>
 
Loading Advertisement...
 
[+][-]08.10.2008 at 02:45AM PDT, ID: 22199184

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.10.2008 at 06:38AM PDT, ID: 22199564

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.10.2008 at 11:31AM PDT, ID: 22200307

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Cascading Style Sheets (CSS)
Tags: CSS IE rollover a:hover web-development
Sign Up Now!
Solution Provided By: MorningThief581
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628