For all browsers except IE 6 and less:
Code:
#lightbox{
position: fixed;
left: 0;
width: 100%;
z-index: 100;
text-align: center;
line-height: 0;
}
As to 3b (I know this is resolved, but thought you might like to know what's up with it), the images pointed to:
Code:
#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }
are relative to the css file, not to the page or anything else. Since (for example) the next image is:
Code:
portfolio/images/nextlabel.gif
and the css file is:
Code:
portfolio/css/lightbox.css
from the latter, ../images/nextlabel.gif is correct. If the css file is somewhere else, say:
Then the path would be:
Code:
images/nextlabel.gif
However, that's all, as I say, using the relative path. If you use the network path:
Code:
/images/nextlabel.gif
or the absolute path:
Code:
http://www.downfallstudios.net/portfolio/images/nextlabel.gif
Then it will be valid from either place.
Bookmarks