Topic: Problem with screen resolution.
Hi,
I am building a web with a gallery simpleviewer, but I have a problem with the screen resolution.
That is the problem:
1024x768
Click here for view the screenshot
and 800x600
Click here for view the screenshot
I am coding with "%" and not with pixels. I am using <div>. The buttons with div and with % dont make problem, with I can configure the simpleviewer for different screen resolution.
My code for the simpleviewer:
<div id="Layer11">
<div id="flashcontent">SimpleViewer requires JavaScript and the Flash Player.
<a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
<script type="text/javascript">
var fo = new SWFObject("viewer.swf", "viewer", "100%", "100%", "8", "#181818");
fo.addParam("wmode", "transparent");
fo.write("flashcontent");
</script>
</div>
</div>
CSS:
#Layer11 {
position:absolute;
width:85%;
height:85%;
z-index:7;
left: 8%;
top: 14%;
}
#flashcontent {
width: 100%;
height: 100%;
}
Thanks.