PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hello Everybody!
i have been build one template using css.which is working fine in Mozilla and is not working in IE. I don't what mistake i done. Can anyone help me please.
They look identical to me, except for the top of the black box being a few pixels lower in IE -- is that what you're talking about? As far as I know, that's a difference in the way IE interprets margins and padding. I think I have read that you can avoid it by not including both padding and margins in the same CSS element. Use one or the other. Hope this helps.
every thing is correct but my problem is if i want to run the same script in MOZILLA it's working , at the same time it's not working in INTERNET EXPLORER, please run the script just observe the menu and move on the mouse on menu . in my menu there is sublinks , that links working on MOZILLA meanwhile it's not working on INTERNET EXPLORER.and i am not asking abou the margins, please click products on my menu and observe .
every thing is correct but my problem is if i want to run the same script in MOZILLA it's working , at the same time it's not working in INTERNET EXPLORER, please run the script just observe the menu and move on the mouse on menu . in my menu there is sublinks , that links working on MOZILLA meanwhile it's not working on INTERNET EXPLORER.and i am not asking abou the margins, please click products on my menu and observe .
So please reply me asearly as possible,
Thank you
To tell the truth, I am surprised that your code works in Firefox either. I have never seen nested <UL>s used like that. Usually submenus are accomplished with Javascript. I'm not an HTML expert, but I have never seen that technique used before. Sorry. The only thing I know to suggest is to check out some available Javascript menus, like: http://www.scriptforest.com/javascript_ ... _menu.html
I use css nested list menus all the time - IE has a bug with using hover. Have a look at the excellent tutorial at http://www.tanfa.co.uk/css/examples/men ... -v.asp#vs1 You'll need to download the whatever:hover hack! - great stuff and definitely works in IE and Mozilla and is accessible, usable and standards compliant too! The tutorial makes the menu a little prettier than black too
Your question was more a css issue than a php coding problem!