View Full Version : Please help - JS image rotator positioning with <div>?

10-26-2010, 04:14 PM
Hi all, I've searched numerous sites and can't find a solution to this issue.

Problem is, believe it or not, this js image rotator works in IE8 but not in FF or Safari. The site is http://www.radmanpatches.com and on the right side there is a js image rotator which is positioned with a <div> in the external style sheet.

I'm trying to figure out how to get it to work in FF and Safari. Here's the style sheet code for that element:

#imageviewer { /*rotating images*/
visibility: visible;
position: absolute;
background-repeat: no-repeat;
margin: 0px;
padding: 0px;
float: right;
opacity: 1.0;
display: block;
overflow: auto;
left: 585px;
top: 175px;
z-index: 5;
max-width: 275px;
max-height: 250px;

And here's the html:

<div id="imageviewer">
<script language=JavaScript src="imageviewer.js"></script></div>

Interesting thing is, if I add a border to the style sheet it does show. So for some reason it seems just the photos are not visible.

Any advice would be really appreciated.

Thanks much in advance!