fredskov
07-02-2011, 07:24 PM
Hey guys :)
atm im working on my own portofolio at http://fredskov.com/ (http://fredskov.com/portofolio.html) and for once FF is the troublemaker, and not IE :eek:
How it is intended to work: the image will have a nice border around it when i hover above the thumb. Works nicely in IE but in FF it lets the border go to the end of screen.
the CSS:
#container a.gallery:hover span {
position:absolute;
width: auto;
height:372px;
top: 309px;
background: rgb(255,255,255);
}
The gallery is a customized version as the one on this tutorial. (http://www.webreference.com/programming/css_gallery/) The reason that im not just going with the standard measurements used on the tutorial is that my work is'nt all in same sizes and therefor i found it better with this solution if i could get it working; That the height is the same, but with different width.
As seen in the code i did it with a width definition of auto.
Hope you can help me
/Fredskov
EDIT: some pics to show what i mean
Firefox 5.0
http://fredskov.com/unintended.gif
Internet Explore (9.x ?)
http://fredskov.com/intended.gif
atm im working on my own portofolio at http://fredskov.com/ (http://fredskov.com/portofolio.html) and for once FF is the troublemaker, and not IE :eek:
How it is intended to work: the image will have a nice border around it when i hover above the thumb. Works nicely in IE but in FF it lets the border go to the end of screen.
the CSS:
#container a.gallery:hover span {
position:absolute;
width: auto;
height:372px;
top: 309px;
background: rgb(255,255,255);
}
The gallery is a customized version as the one on this tutorial. (http://www.webreference.com/programming/css_gallery/) The reason that im not just going with the standard measurements used on the tutorial is that my work is'nt all in same sizes and therefor i found it better with this solution if i could get it working; That the height is the same, but with different width.
As seen in the code i did it with a width definition of auto.
Hope you can help me
/Fredskov
EDIT: some pics to show what i mean
Firefox 5.0
http://fredskov.com/unintended.gif
Internet Explore (9.x ?)
http://fredskov.com/intended.gif