Previous Message
Next Message

Odd issue with image 'hover' region

Sent by Angus McIntyre on 1 December 2004 20:08


At 20:41 -0600 29.11.2004, Holly Bergevin wrote:
>From: Angus McIntyre [EMAIL-REMOVED]>
>
>>	http://dev.disoriented.net/
>
>>  I have a thumbnail image ... In Opera, Gecko- (Firefox on Mac
>>  and Windows) and Webkit-based browsers (Safari, Omniweb 5), if you
>>  point to the upper-left of the image, the cursor doesn't change and
>>  clicking does nothing
>
>The photocaption div is covering your thumbnail image, and this is
>why most browsers are not giving you a clickable area until the
>image extends below that div.

Thank you. That was, of course, the problem.

It actually occurred because I'd changed the class of a <div> element 
in the HTML and forgotten to make sure that there was a corresponding 
entry in the stylesheet. By an odd quirk, this didn't actually change 
the visual appearance of the page at all, so I didn't notice that the 
<div> now wasn't getting styled.

Just one more pitfall for the unwary. If, some day, someone produces 
the Ultimate CSS Debugging Tool, they should remember to include a 
check to see that all classes referenced in the HTML have equivalent 
definitions in the CSS, and issue appropriate warnings if not.

Thank you to Holly and Steve Clay for responding so quickly and helpfully.

Angus
-- 
Business:   http://www.nomadcode.com/
Personal:   http://www.raingod.com/angus/
Political:  http://www.gollum2004.com/
Weblog:     http://www.disoriented.net/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: