| | |
css menu in ie7 : a:hover behaviour only on text not on the whole box
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jun 2007
Posts: 1
Reputation:
Solved Threads: 0
Hello,
i would appreciate any help with css menu in ie7.
I have developed the pure css menu, what is working fine with ie6 and ff, opera as well,
but after comming the new ie7 i have realised, that the menu is simulating the a:hover behaviour without any htc files etc. But its quite strange. The menu is multilevel menu, and after moving out from the text in the menu, the other levels are very fast disappearing ... so you cannot reach the next level because of this ... on the others browsers its working fine.
Link to the testing page : http://www-1.sysnet.cz/Test/web-navx....html?OpenPage
If you could write me how to change the menu.css for working properly on ie7 as well, thanx!
The css code of the menu :
i would appreciate any help with css menu in ie7.
I have developed the pure css menu, what is working fine with ie6 and ff, opera as well,
but after comming the new ie7 i have realised, that the menu is simulating the a:hover behaviour without any htc files etc. But its quite strange. The menu is multilevel menu, and after moving out from the text in the menu, the other levels are very fast disappearing ... so you cannot reach the next level because of this ... on the others browsers its working fine.
Link to the testing page : http://www-1.sysnet.cz/Test/web-navx....html?OpenPage
If you could write me how to change the menu.css for working properly on ie7 as well, thanx!
The css code of the menu :
HTML and CSS Syntax (Toggle Plain Text)
/**************** menu coding *****************/ #menu { width: 200px; background: #ffeeee; z-index: 9999; } #menu ul { list-style: none; margin: 0; padding: 0; } #menu a, #menu h2 { display: block; border:1px solid #888888; border-width:0px 1px 1px 0px; margin: 0; padding: 5px 3px; } #menu h2 { display: none; } #menu a { color: #FFFFFF; background: #B2B2B2; padding-left:5px; text-decoration: none; font-size:0.6em; font-family:Arial Black; text-transform:uppercase; } #menu a:hover { color: #FFFFFF; background: #99cc00; } #menu li { position: relative; } #menu ul ul{ position: absolute; top: 0; left: 100%; width: 100%; } div#menu ul ul , div#menu ul li:hover ul ul {display: none;} div#menu ul li:hover ul, div#menu ul ul li:hover ul {display: block; border:1px solid #777777; border-width:1px 0px 0px 1px; margin-left:-1px; } #menu ul ul ul { position: absolute; top: 0; left: 100%; width: 100%; } div#menu ul ul ul, div#menu ul ul li:hover ul ul {display: none;} div#menu ul ul li:hover ul, div#menu ul ul ul li:hover ul {display: block;}
css Syntax (Toggle Plain Text)
#menu a:hover { color:#FFFFFF; background:#99cc00; } #menu li { position: relative; } #menu li:hover { color:#FFFFFF; background:#99cc00; position:relative; }
Last edited by almostbob; Jun 30th, 2009 at 5:12 pm.
Failure is not an option It's included free
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
![]() |
Similar Threads
- Website NOT showing menu hover in Internet Explorer (Site Layout and Usability)
- opera problems with hover menu (JavaScript / DHTML / AJAX)
- CSS Horizontal Drop-down Menu ??? (HTML and CSS)
- CSS menu hover question (HTML and CSS)
- Help with dynamic menu (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: CSS on a subsite not applied in FF and Chrome, works in IE
- Next Thread: Two column CSS layout
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






