PDA

View Full Version : Lightbox works, but a slight bug



Schmoopy
11-03-2008, 09:59 PM
1) Script Title: Lightbox

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm

3) Describe problem:

First of all, my lightbox is working fine, it's just that when I hover over the "Close" button, the box expands a little bit at the bottom, I think it might be something to do with my other CSS for the page but I don't know what to edit to fix it, you can see what I mean here:

http://www.bombthehills.com/gallerybeta.html

It expands in all browsers I've tested it in (Opera, IE and FF)

Hope you can help,

Thanks,

Jack.

rangana
11-04-2008, 01:02 AM
Set the font size back to 12pt: (on lightbox.css)


#imageData #bottomNavClose{ width: 66px; float: right; padding-bottom: 0.7em; outline: none;font-size:12pt;
}


...it's affected by this part in your main rule:


a:hover{
font-weight:bold;
font-family:arial;
font-size:14pt;
}


Hope that helps.

Schmoopy
11-04-2008, 01:41 AM
Ah nice, thanks :)