Reply LinkBack Thread Tools Search this Thread
Old 28-05-2007, 15:13   #1 (permalink)
rupun_b
Registered User
 
Join Date: Jan 2007
Posts: 12
Text field hover effect is not showing in ie6

I am using a hover effect in a form textfield through css , It is working in ie7 and firefox but ie6 is not supporting that. Any solutions? Another thing is I have applied a fixed width and height through css to the textfields , but in ie (6 and 7 ) is showing 2px transparent border or margin, margin:0; padding:0 is applied. This is coming even without applying css. The class is shown below.
Any idea about the problems?


.input1{
width:210px;
height:15px;
border:1px solid #C3DF61;
background-color:#F0FFBB;
overflow:hidden;
padding:0;
margin:0;

}
.input1:hover{
width:210px;
height:15px;
border:1px solid #C3DF61;
background-color:#CCCCCC;
overflow:hidden;
padding:0;
margin:0
}
.input1:focus{
width:210px;
height:15px;
border:1px solid #8c8c8c;
background-color:#CCCCCC;
overflow:hidden;
padding:0;
margin:0
}
  Reply With Quote
Old 28-05-2007, 17:14   #2 (permalink)
pgo
i'm done, son
 
Join Date: Jan 2005
Posts: 12,262
IE6 doesn't recognize the :hover pseudo-class for anything but anchors. And I believe that :focus is not supported in any version of IE.

The only way to do it is JavaScript fed to IE only.
  Reply With Quote
Reply



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

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8