Results 1 to 2 of 2

Thread: :hover not working, help please

  1. #1

    Default :hover not working, help please

    hi,

    originally I used
    .row2:hover { background-color: #CCCCCC; }

    to make the row in my table change color. Then I realized it was a bad thing since it is site wide and messes up some other stuff. So, I wanted to use an inline style to apply it to only 1 specific table. I can't seem to get it to work.

    <tr style="background-color: gray'" class="{members_row.ROW_CLASS}">

    That changes the row to gray permanently but I can't figure out how to get hover to work here. Any suggestions?

    Thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: :hover not working, help please

    You're talking about Qt's rich text engine, not about stylable widgets, right? See Supported CSS Selectors:
    All CSS 2.1 selector classes are supported except pseudo-class selectors such as :first-child, :visited and :hover.
    J-P Nurmi

Similar Threads

  1. QResource Stopped Working
    By JPNaude in forum Qt Programming
    Replies: 0
    Last Post: 22nd October 2008, 13:26
  2. QDevelop and CTags -> Not working
    By philwinder in forum Qt-based Software
    Replies: 13
    Last Post: 9th May 2008, 22:40
  3. QTextBrowser and Hover
    By yogeshgokul in forum Qt Programming
    Replies: 1
    Last Post: 5th January 2008, 12:18
  4. Don't want QTextBrowser to look in working directory
    By magland in forum Qt Programming
    Replies: 1
    Last Post: 21st October 2007, 00:14
  5. GUI thread and Working thread comunication
    By FasTTo in forum Qt Programming
    Replies: 2
    Last Post: 13th September 2007, 16:31

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.