Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old February 4th, 2005, 12:45 AM
jweizenblut jweizenblut is offline
Contributing User
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Miami, Fl. US
Posts: 522 jweizenblut User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 29 sec
Reputation Power: 2
Send a message via AIM to jweizenblut Send a message via Yahoo to jweizenblut
Mouse Over on Style

I have the following style:

.button { width:270; font: 12px arial; font-weight: bold; border: 1px solid #000000; background-color: #CCCCCC; padding-top:0px; padding-bottom:0px; padding-left:0px;CURSOR:HAND;}

It sets my buttons to a nice look I have. When the cursor is moved over the button, it changes to a hand. I want to modify it now so that when the mouse is moved over the cursor, the font color changes.

Any ideas?

Reply With Quote
  #2  
Old February 4th, 2005, 11:24 AM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: Mouse Over on Style

this works only in mozilla/FF, you need JS to make it work in IE..

Code:
input.button:hover {
    color: red;
}



Reply With Quote
  #3  
Old February 5th, 2005, 07:51 PM
rehfeld_dot_us rehfeld_dot_us is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Posts: 825 rehfeld_dot_us User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Mouse Over on Style

i use this to make ie behave. then you can use css.

http://www.xs4all.nl/~peterned/csshover.html

if you want to make ie even more css compliant, you can take a look at
http://dean.edwards.name/IE7/

it works very well in my experience, but its a lot of js for the cleint to download. if you only need the hover part fixed, id recomend the first link i posted as the code base is a lot smaller.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > Mouse Over on Style


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT