This seems so simple, but I haven’t been able to work it out.
I just want to give an image a unique border and background color. It has 4px of padding, and i want to swap the background color for its :hover state.
i’d like the code to be as simple as possible, and I’m not going to have an active or visited state, so I’m hoping/thinking i can eliminate those.
I was hoping I could just do the <img id=”… thing but I can’t get the hover to work. I don’t think I have the syntax correct (a#rollover:hover img?)
the closest I could get was by putting the image in a div and applying some css I found, but it doesn’t quite work and it seems like it should be simpler.
[URL=http://www.cityscene.tv/imgtest.htm]Here’s the link
thanks,
JP