Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

CSS tabbed list and hover

  • 05-08-2006 9:13pm
    #1
    Registered Users, Registered Users 2 Posts: 4,475 ✭✭✭


    I was just putting the finishing touches to an admin function for a client, when I decided to test it out in Firefox to make sure it works okay. It looks fine, but I have a problem with the css-driven tabbed list I'm using.

    Each tab consists of a simple box with text inside and when you hover over it, it changes colour. Simple enough. However, in ff, it only works when I hover over it, but away from from the text inside. Hovering over the text has no effect, cursor doesn't change, nothing, it's like ff doesn't even recognise it.

    It works fine in ie, but I've not seen this problem on any of the myriad of pages showing tabbed lists these days, so it must be something dumb I've done.

    I'm not sure what further info I can supply, but if somebody has been there, fixed that, I'd appreciate any pointers you might have.


Comments

  • Registered Users, Registered Users 2 Posts: 1,275 ✭✭✭bpmurray


    Is the text really text or is it a link? If it's a link, then you must have the appropriate settings on the text too for it to work.


  • Registered Users, Registered Users 2 Posts: 4,475 ✭✭✭corblimey


    The text is the link, the styling is down to css
    <ul id="tabnav">
        <li><a href="">help</a></li>
    </ul>
    
    where ul#tabnav has all the styling on it in the stylesheet plus
    
    #tabnav a:hover a:focus {
        background: #fff;
        color: #666;
    }
    


  • Registered Users, Registered Users 2 Posts: 4,475 ✭✭✭corblimey


    Well, I found the problem. I had added some code to the right of the tabbed list, just a copyright notice, but with it there, the hover fails to work on ff. No idea why, but the simplest solution seems to be to move the sodding text.


  • Registered Users, Registered Users 2 Posts: 5,618 ✭✭✭Civilian_Target


    I don't quite understand what you're trying to do here (tabbed list?), but the problem sounds to me like you're trying to create blocks and you've somehow put the copyright block in the wrong place...


Advertisement