image links get scrollbars when clicking

image links get scrollbars when clicking

am 09.09.2007 06:32:26 von Troy Piggins

This seems to happen in Firefox, but not IE, and just wondering
if it's my code or the browser.

On some of my pages I have thumbnails of images. The thumbs are
links to bigger images.

Thumbnails are displayed as I want them... /until/ the link is
clicked (active?) when a scrollbar appears on the right side of
the thumbnail. Here is an example:

http://piggo.com/~troy/slrn#manuals

View it in Firefox, and click but hold down the mouse button on
the thumb and see the scrollbar appear?

How do I stop that?

Here is the relevant html and css extracts:



a:link {
border-bottom-style: dotted;
border-bottom-width: 1px;
color: #4682B4;
text-decoration: none;
}
a:visited {
border-bottom-style: dotted;
border-bottom-width: 1px;
color: #4682B4;
text-decoration: none;
}
a:hover {
border-bottom-style: solid;
border-bottom-width: 1px;
color: #B0C4DE;
text-decoration: none;
}
a:active {
border-bottom-style: solid;
border-bottom-width: 1px;
color: #B0C4DE;
text-decoration: none;
}

..imgctr {
text-align: center;
overflow: auto;
}
..imgctr a:link {
border-bottom: none;
}
..imgctr a:visited {
border-bottom: none;
}
..imgctr a:hover {
border-bottom: none;
}
..imgctr a:active {
border-bottom: none;
}

img {
border: none;
overflow: auto;
padding-left: 10px;
padding-right: 10px;
}

--
Troy Piggins

Re: image links get scrollbars when clicking

am 09.09.2007 11:13:38 von Troy Piggins

* Blinky the Shark is quoted & my replies are inline below :
> Troy Piggins wrote:
>> This seems to happen in Firefox, but not IE, and just wondering
>> if it's my code or the browser.
>>
>> On some of my pages I have thumbnails of images. The thumbs are
>> links to bigger images.
>>
>> Thumbnails are displayed as I want them... /until/ the link is
>> clicked (active?) when a scrollbar appears on the right side of
>> the thumbnail. Here is an example:
>>
>> http://piggo.com/~troy/slrn#manuals
>
> Judging by the that full-sized image you hang out with pretty cool
> people. ;)

Lol - didn't even notice that.

> What do you get if you lose or change the overflow:auto ?

Not what I want.

> http://www.quirksmode.org/css/overflow.html

Aah, so it's not FF misbehaving, it's IE not doing it correctly
and not displaying the scrollbars when it should even though I
don't want it to. Was that even English?

> (Won't see response; don't do the group you preferred follow-up to.)

Did that because it seems more relevant.

--
Troy Piggins