Jump to content

[SOLVED] Error? hover:...


eaglelegend

Recommended Posts

.text_box {
background-color:hover(color:#ffffff;) #e73738;
border:hover(color:#ffffff;) 4px solid #292929;
color:hover(color:#e73738;) #ffffff;
}

 

 

wtf???? Am I missing some new syntax in css???

 

try this instead...

 

.text_box {
background-color:#e73738;
border:4px solid #292929;
color:#ffffff;
}

.text_box:hover {
background-color:#fff;
border-color:#fff;
color:#fff;
}

 

you will need to use some javascript in IE6 to get this to work (but I never bother with that - it rewards people who don't upgrade to better browsers).

Link to comment
https://forums.phpfreaks.com/topic/100279-solved-error-hover/#findComment-512780
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.