SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Mar 2002
    Location
    Newcastle, UK
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question hover, is it possible?

    With css is it possible to do this?

    div.contents_left {
    blahblahblah
    }

    div.contents_left:hover {
    blahblahblah
    }

    I know you can do it with links, but cant seem to get this to work.

    Plz reply if you know how i can acheive this because i'm loathe to use JavaScript as I think it makes my code messy.

    Thx Vassago.

  2. #2
    SitePoint Wizard Ian Glass's Avatar
    Join Date
    Oct 2001
    Location
    Beyond yonder
    Posts
    2,384
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Check it in Mozilla or Netscape6 and I think it'll work. But, to tell you the truth, I haven't had a need to do that so I haven't tried to do it. Most people use DHTML for that, sitll. :-)

    ~~Ian

  3. #3
    .net install meltdown
    Join Date
    May 2001
    Location
    View Ridge
    Posts
    692
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yep, what Ian said...

    Works in NN6 but not in IE (5.5 not sure about 6) or Opera.

    Stinkin' browsers

  4. #4
    What? Maelstrom's Avatar
    Join Date
    Oct 2001
    Location
    Whistler BC originally from Guelph Ontario
    Posts
    2,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Personally javascript is the best way to do this. Sorry you may loathe but sometimes javascript can be a beautiful thing. With a simple rollover and an onmouseover calling the funcion this won't look bad.
    Maelstrom Personal - Apparition Visions
    Development - PhP || Mysql || Zend || Devshed
    Unix - FreeBSD || FreeBsdForums || Man Pages
    They made me a sitepoint Mentor - Feel free to PM me or Email me and I will see if I can help.


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
  •