Mike Lewis
Programmer
Well, "crazy" is an exaggeration. But it is slightly weird.
I've got a page with two navigation boxes, each containing several links.
The links across the top of the page are styled as follows:
The links lower down, in a sidebar, are like this:
So, as you can see, the only differences are the colours.
I've tested this scheme with several different browsers, and it always behaves as expected.
Except for IE6. In that case, when I hover the mouse over one of the upper links, the whole of the lower part of the page jumps down about 10 pixels - and stays down after I un-hover the mouse.
When I hover over one of the lower links, it jumps up by 10 pixels.
The rest of the CSS and markup is completely straightforward. There's no Javascript or anything like that.
My question is: Has anyone else come across this behaviour? Is it a well-known feature of IE6?
To be honest, it's not a big worry for me. I don't want to go to a lot of trouble to debug or fix it. On the other hand, I don't want to show my ignorance if it's a well-known issue with an easy solution.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
Visual FoxPro tips, advice, training, consultancy
Custom software for your business
I've got a page with two navigation boxes, each containing several links.
The links across the top of the page are styled as follows:
Code:
.main-menu a { text-decoration:none; color:White; }
.main-menu a:active {background-color: Green; }
.main-menu a:hover {background-color: Green; }
.main-menu a:focus {background-color: Green; }
The links lower down, in a sidebar, are like this:
Code:
a { text-decoration:none; color:Blue;}
a:active {background-color:Silver;}
a:hover {background-color:Silver; }
a:focus {background-color:Silver;}
So, as you can see, the only differences are the colours.
I've tested this scheme with several different browsers, and it always behaves as expected.
Except for IE6. In that case, when I hover the mouse over one of the upper links, the whole of the lower part of the page jumps down about 10 pixels - and stays down after I un-hover the mouse.
When I hover over one of the lower links, it jumps up by 10 pixels.
The rest of the CSS and markup is completely straightforward. There's no Javascript or anything like that.
My question is: Has anyone else come across this behaviour? Is it a well-known feature of IE6?
To be honest, it's not a big worry for me. I don't want to go to a lot of trouble to debug or fix it. On the other hand, I don't want to show my ignorance if it's a well-known issue with an easy solution.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
Visual FoxPro tips, advice, training, consultancy
Custom software for your business