OK, I've played. This is my line...
Code:
<a class="thumbnail" href="#thumb" rel="facebox"><img src="http://www.menuhead.net/Images/Buttons/PShotClear.png" width="30px" height="20px" border="0" />
If I take out class="thumbnail" and/or href="#thumb" then I lose the rollover effect. The image just appears on the page. Any hints on how to maintain the rollover and still get this thing centered? Thank you.
PS Here is the CSS I am currently using. This is for the hover, etc...
Code:
a:hover {
text-decoration:none;
}
a {
text-decoration:none;
}
#interface1 {
z-index:1;
}
#loader_container {
text-align:center;
position:absolute;
top:40%;
width:100%}
#loader {
font-family:Tahoma, Helvetica, sans;
font-size:10px;
color:#000000;
background-color:#FFFFFF;
padding:10px 0 16px 0;
margin:0 auto;
display:block;
width:135px;
border:1px solid #6A6A6A;
text-align:center;
z-index:255;
}
#progress {
height:5px;
font-size:1px;
width:1px;
position:relative;
top:1px;
left:10px;
background-color:#9D9D94
}
#loader_bg {
background-color:#EBEBE4;
position:relative;
top:8px;left:8px;height:7px;
width:113px;font-size:1px
}
.border_preview{
z-index:100;
position:absolute;
background: #fff;
border: 1px solid #444;
}
.preview_temp_load {
vertical-align:middle;
text-align:center;
padding: 10px;
}
.preview_temp_load img{
vertical-align:middle;
text-align:center;
}
/*Image Title Styling*/
.title_h2 {
padding:12px 0 0 18px;
}
h2 {
font-size:14px;
padding:0;
margin:0;
font-family: "century gothic";
color:#FFF
text-align:center;
}
.thumbnail{
position: relative;
z-index: 0;
width:30px;}
.thumbnail:hover{
background-color: transparent;
z-index: 50;
}
.thumbnail span{ /*CSS for enlarged image This is for the image*/
position: absolute;
background-color: #333;
padding: 2px;
left: -1000;
border: 3px solid black;
border-radius: 35px;
-moz-border-radius: 35px; /* Old Firefox */
visibility: hidden;
color: white;
text-decoration: none;
text-align: center;
}
.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}
.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: -380px; /*position where enlarged image should offset vertically*/
left: 60px; /*position where enlarged image should offset horizontally*/
}
Bookmarks