CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

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 Dev Shed Forums Sponsor:
  #1  
Old July 5th, 2003, 05:27 PM
Clod Clod is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 37 Clod User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 38 m 17 sec
Reputation Power: 6
css: focus?

I am trying to get the css focus selecter working, but with not much luck, any suggestions?

input, textarea {
background-color: #fcfaf4;
font-family: verdana, sans-serif;
font-size: 1em;
color: #b6a57a;
}

input:focus, textarea:focus {
background: #fff;
font-family: verdana, sans-serif;
font-size: 1em;
color: #b6a57a;
}
__________________
Computers are like Air conditioning, when you start opening windows they stop working!

Reply With Quote
  #2  
Old July 5th, 2003, 05:58 PM
jerom jerom is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Posts: 1,014 jerom User rank is Corporal (100 - 500 Reputation Level)jerom User rank is Corporal (100 - 500 Reputation Level)jerom User rank is Corporal (100 - 500 Reputation Level)jerom User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 17 h 34 m 25 sec
Reputation Power: 9
It works beautifully in my favorite browsers (Mozilla, Opera 7).
IE5.5 on my test machine does not support it.

Hope this helps,
Jeroen

Reply With Quote
  #3  
Old July 6th, 2003, 05:05 AM
Android808 Android808 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Somewhere near London
Posts: 52 Android808 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 56 m 57 sec
Reputation Power: 6
Does it really need to be set using CSS? Surely there is another way you could do it that would be compatible with different browsers, such as using javascript.

Reply With Quote
  #4  
Old July 6th, 2003, 08:24 AM
Clod Clod is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 37 Clod User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 38 m 17 sec
Reputation Power: 6
I'm using IE6.0 and it doesn't work and as far as I know it should work

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > css: focus?


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 2 hosted by Hostway