+ Reply to Thread
Results 1 to 3 of 3

Thread: CSS Question?

  1. #1
    virus_photo Guest

    CSS Question?

    Can you add "hover" effect to other classes than "a(link)"? If I want to add hover effect o an input box or plain text, can it be done? What will be the code for that? Please give example if you can...

  2. #2
    Enfold IT is offline Junior Member Enfold IT is on a distinguished road
    Join Date
    May 2007
    Posts
    1
    Rep Power
    0
    Using strict CSS, no, but you can use Javascript on a SPAN element to change the stye when a MouseOver event happens. You can also just have a link that goes nowhere.

  3. #3
    planetmatt is offline Junior Member planetmatt is on a distinguished road
    Join Date
    May 2007
    Posts
    1
    Rep Power
    0
    Yes, the :hover psuedo class can be applied to other HTML elements. The only (some would say huge) problem is that it doesnt work in Internet Explorer.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. XML Question?
    By AskTheExpert in forum XML and XSLT
    Replies: 0
    Last Post: 10-31-2007, 04:28 PM
  2. CSS positioning question?
    By Siervocal in forum XHTML and CSS
    Replies: 0
    Last Post: 05-20-2007, 09:13 PM
  3. .xml question?
    By What?!! in forum XML and XSLT
    Replies: 2
    Last Post: 05-15-2007, 03:28 AM
  4. CSS Question?
    By jackal141200 in forum XHTML and CSS
    Replies: 0
    Last Post: 04-12-2007, 10:13 AM
  5. Why did Ajax ask the same question three...
    By bobbymcshankleby in forum AJAX Questions
    Replies: 4
    Last Post: 03-21-2007, 10:46 AM

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