This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > December 2005 > overflow:hidden behaviour





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author overflow:hidden behaviour
dmt

2005-12-07, 9:36 am

Hi,

I have a div with overflow:hidden containing an overflowing image.

My problem is that if you click on the hidden part of the image (outside the containing div) the gecko browsers highlight (select) the image . when the image is big clicking virtually anywhere on the page following the containing div highlights the image, which is very annoying.

I came up with a workaround: place a div spanning from the right end of the container to the right edge of the viewport, and one under the div stretching to the bottom edge of the window. these act like covers and prevent clicking on the underlying hidden content of the div containing the picture, but I hope there is a cleaner way to solve this.

Hope someone has encountered/resloved this kind of problem.
Thanks in advance
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews