Showing posts with label php code. Show all posts
Showing posts with label php code. Show all posts

Thursday, May 17, 2007

Weird php code problem

A reader brought this problem to my attention today and I can only assume its been going on since I gave my blog a makeover a couple of weeks ago. This problem only happens in IE. In my sidebar, after a link is clicked it disappears until it is hovered over and then it momentarily reappears. I checked out the style.php code and found this code that controls that portion of the sidebar action:

.side ul a:hover {
color: ;
background-color: ;
}

I was able to fix it by a total fluke of accidently leaving off the } at the end of that statement. So now it works in FF and IE but this doesn't make any sense to me. Does anyone know php well enough to explain this to me ? Thanks.


This Post was written by Vanessa from What geeks eat...