473,399 Members | 2,858 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

IE hover,absolute,z-index bug

nouras
15
I use css to put png image on the page , i need the absolute position ,z-index and hover property .
this is the code ...
Expand|Select|Wrap|Line Numbers
  1. a.play{position:absolute;bottom:-37px!important;bottom:2px;right:10px!important;
  2. right:2px;width:40px; height:40px; margin:0; outline:none; display:none;background:url(play.png) no-repeat; text-indent:-999em; border:none;cursor:pointer; z-index:10000000;}
  3. a:hover.play{background:url(play_h.png) no-repeat;}
  4.  
this code work in firefox but in don't work in IE.
this is an image about the problem to see an example
in Firefox



in IE




the button play is the png image .
i need to change the location of this image in IE to be as it seems in firefox.
therefor i use the absolute position and z-index in css file .
what i can do to make this css work in IE to remove the image??
and i have also hover problem in IE .
please help me.
Apr 20 '10 #1
3 4650
nouras
15
Help me ...........
please.
Apr 22 '10 #2
drhowarddrfine
7,435 Expert 4TB
We need to see the complete html/css or preferably a link. Also, the version of IE you are having problems with.
Apr 22 '10 #3
nouras
15
thank you ...
i am using the gallery in this link

http://www.pirolab.it/pirobox/

the file css in the folder ((csspirobox/white/style.css)).
i change this line in the css file
Expand|Select|Wrap|Line Numbers
  1. a.play{position:absolute;bottom:-37px!important;bottom:2px;right:10px!important;right:2px;width:40px; height:40px; margin:0; outline:none; display:block;background:url(play.png) no-repeat; text-indent:-999em; border:none;cursor:pointer; z-index:10000000}
  2. a:hover.play{background:url(play_h.png) no-repeat;}
  3.  
  4. *html a.play{position:absolute;top:280px!important;right:10px!important;right:2px;width:40px; height:40px; margin:0; outline:none; display:block;background:url(play.png) no-repeat; text-indent:-999em; border:none;cursor:pointer; z-index:10000000}
  5. *html a:hover.play{background:url(play_h.png) no-repeat;}
  6.  
  7. a.stop{position:absolute;bottom:-37px!important;bottom:2px;right:10px!important;right:2px;width:40px; height:40px; margin:0; outline:none; display:block;background:url(pause.png) no-repeat;text-indent:-999em; border:none;cursor:pointer; z-index:10000000}
  8. *html a.stop{position:absolute;top:280px!important;bottom:2px;right:10px!important;right:2px;width:40px; height:40px; margin:0; outline:none; display:block;background:url(pause.png) no-repeat;text-indent:-999em; border:none;cursor:pointer; z-index:10000000}
  9. a:hover.stop{background:url(pause_h.png) no-repeat;}
  10.  
it works good in firefox ,but the problim in IE7 ,IE6
in IE : if i change the position to the buttom it seems like this image


the play button will disappears...
Apr 24 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: toylet | last post by:
Attached is some css codes for a website. It has 3 parts: top-bar, side-bar (on the left) and main-body. The top-bar has a mouseover menu called top-menu implemented via ul:hover. When the mouse...
11
by: Piers Lawson | last post by:
Hi Thank you to everyone who contributed to my last post (for those that noticed... I've now removed the XHTML ;-) In the page listed below, a two part horizontal menu is displayed, indented...
7
by: Matt | last post by:
Is there a way to increase the amount of time a hyperlink title displays or show the desired text using javascript? <a title="This is the title text displayed on hover.">Displayed Text</a> ...
1
by: DiegoMx | last post by:
I'm having a problem with "a:visited" properties overriding "a:hover" ones - here's the relevant part of my CSS: a.barra { position:absolute; top:30px; font-family:century gothic;...
24
by: fehays | last post by:
Hello, I'm having a problem with the css hover effect in IE. I have an <a> tag with the following CSS: a.subNavItem { display:block; color:#464645; padding:2px 7px 4px 6px;...
7
by: fredo | last post by:
I've studied Eric Meyer's pure css popups, version two: http://meyerweb.com/eric/css/edge/popups/demo2.html which pops up an image when I roll over a text link. Now I want to pop up a large...
1
by: cwrinn | last post by:
<html> <head> <style type="text/css"> h1.visible {display: block; position: absolute; top: 100px;} h1.invisible {display: none; position: absolute; top: 100px;} a.anchor:hover h1.visible...
2
by: andrewtayloruk | last post by:
Hi, i'm pretty new to CSS and html so please go easy on me. I'm trying to make a menu, the idea is that when you hover over the images in the menu they glow. To do this i have set up the...
3
by: noize | last post by:
I have found other bugs related to using hover is CSS with IE, but I cannot find a fix for my issue. I have checked it in both IE 6 & 7 with the same results. I have built a drop-down menu using...
8
by: Meri | last post by:
Hello Everybody on the internet seems to think this is a problem with IE but for me it works fine with IE, but the submenus do not appear with Firefox andOpera. The html is a simple list with...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.