AJAX Forums

CSS Question?

This is a discussion on CSS Question? within the XHTML and CSS forums, part of the Beginners AJAX category; 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 ...

Go Back   AJAX Forums > Beginners AJAX > XHTML and CSS

AJAX Made Easy

Old 05-04-2007, 04:19 PM   #1 (permalink)
virus_photo
Guest
 
Posts: n/a
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...
  Reply With Quote
Sponsored Links
Old 05-04-2007, 06:17 PM   #2 (permalink)
Junior Member
 
Join Date: May 2007
Posts: 1
Rep Power: 0
Enfold IT is on a distinguished road
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.
__________________
Enfold IT is offline   Reply With Quote
Old 05-04-2007, 11:16 PM   #3 (permalink)
Junior Member
 
Join Date: May 2007
Posts: 1
Rep Power: 0
planetmatt is on a distinguished road
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.
__________________
planetmatt is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads

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


All times are GMT -4. The time now is 02:34 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0
Copyright ©2006 - 2009, AJAXwith.com