PDA

View Full Version : what's causing little tick mark next to image



clair
11-05-2006, 09:58 PM
1) Script Title:
CSS Popup Image Viewer
2) Script URL (on DD):
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

3) Describe problem:
Have put up a sample page at

http://www.vt2000.com/test1/port.htm

Beside the bottom right corner of each thumbnail there is a little tick mark.

I have to get rid of it, and have tried everything I know -- it refuses to leave.

The page does not have non-critical images there, nor are there any large pictures for display -- I've simply put up a test page to show the tick marks. The code is in the page for source viewing. (I did *not* create this page (I am in fact replacing an awful, and broken, JS image viewer.) Scrolling down to the Comment "Gallery Begins Here" will get you to the entries for the thumbs.

Any help very much appreciated.

This script is one of the cleverest things I've seen in a while.

Thanks much.
Clair

jscheuer1
11-05-2006, 11:29 PM
It is probably your non-standard comments:


<!--- image break --->

A standard comment begins:


<!-- the space is important . . .

and ends:


. . . the space at the end is important too -->

You've got it right, except for the number of dashes and it appears to be a dash that is showing up. Give it a shot.

jscheuer1
11-05-2006, 11:45 PM
Ooops, I was wrong, it is style from your other stylesheet creeping in, put this here:


<style type="text/css">

/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.thumbnail{
position: relative;
z-index: 0;
}
.thumbnail:link, .thumbnail:visited, .thumbnail:hover, .thumbnail:active {
text-decoration:none;
}
.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lighty . . .

clair
11-06-2006, 12:15 AM
John -- Wow --
Perfect -- thanks so much. I'm new to CSS and would never have found that.
However, you have been so helpful -- I can't let you think you have wasted your talents on a dork-- have a look at my own stuff--

http://www.vt2000.com/

I'm working on another CSS problem, of my own making, and if I may, tomorrow I will ask you about it, if I haven't solved it by then.

Again, my thanks.
Clair