SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot Beeper's Avatar
    Join Date
    Sep 2003
    Location
    LONDON UK
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    <ul><li>List Icons ...

    Hi, this is probably not possible but...

    You know list items.
    You know about using block to make lovely rollover menus.

    Now, one of the nice things about these menus is that the circle or square changes colour with the rest of the link. Brilliant you say. Yes, well, I think it is too.

    However I want to use arrows, dinky little tiny arrows. But, and here's the rub, I want the arrows to change colour much as the discs and squares do.

    Is this possible and if so, how?
    Never argue with an idiot.
    They just drag you down to their level...
    and beat you with experience.

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,803
    Mentioned
    158 Post(s)
    Tagged
    4 Thread(s)
    Hi,

    Just use a background image in the anchor for your arrow. Then on hover you can either swap it for an image of another colour. Or for a better rollover effect put the over state into the parent of the anchor (the list item) and then just make the anchor background transparent on rollover and then you get no flicker and its also pre loaded.

    Paul

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,803
    Mentioned
    158 Post(s)
    Tagged
    4 Thread(s)
    Circumventing your next question - here's an example

    http://www.pmob.co.uk/temp/list7.htm

    Paul

  4. #4
    SitePoint Zealot Beeper's Avatar
    Join Date
    Sep 2003
    Location
    LONDON UK
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wow! fantastic as usual
    Never argue with an idiot.
    They just drag you down to their level...
    and beat you with experience.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •