image links get scrollbars when clicking

T

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:

<div class="imgctr">
<a href="image.php?img=images/slrn/manuals.png">
<img alt="manuals screenshot" src="images/slrn/thumbnails/manuals.png" \>
</a>
</div>

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;
}
 
T

Troy Piggins

* Blinky the Shark is quoted & my replies are inline below :
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.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top