Information
I am posting this menu to see if anyone has seen this problem or knows of a workaround.
The idea is to have a current page indication that will be removed when hovering other menu links.
For this to work I have set up the current page indication as the last list item in the unordered list and placed it using absolute positioning behind the current page link.
Then using the 'general sibling selecter' ~ (tilde) I can move this to its new position when hovering over other menu links using the style:
.menu li.p3:hover ~ li.slide {left:220px;} etc
Well that was the theory and it works in Firefox, Opera and even IE8. BUT not in Safari or Google Chrome which doesn't appear to allow you to use :hover with ~
If anyone has a workaround or any information on this then please let me know.
Copyright
You may use this method on your personal 'non-profit' web site without seeking my permission. A link back to CSSplay is always appreciated.
Commercial usage is also permitted without seeking approval, but I would ask that a donation is considered to support my work on CSSPlay.
If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.
- Register Domain Name
- Website Design
- SEO
- Leading digital agency
Search & social experts to increase traffic - Web Banner Design
Unique designs from $20 - Online PR-Portal Social Media News
Our Press releases you can read on OA News - SEO Services
- Managed Hosting
- Search engine optimisation
Search engine optimisation specialists to companies throughout the UK and the World - website design
- Bath Panels







