centering an image script...help!!

admin

Administrator
Staff member
Hi,

I'm trying to center an image script in my web page...on macs its centered but on pcs its over on the lefthand side of the screen. Here's an excerpt of the code ..can anyone help me...i just want it to be in the center : ( Tried it in a table and within <DIV></DIV> and <CENTER></CENTER> but nothing works...help!!

Thanks

miss blue


<---------------------------------------------the code----------------------------------------------------------->

this is in the head....


<HEAD>
<style>
.s {
position:absolute;
left:-5000px;
top:-5000px;
}
</style>
</HEAD>

this is in the body........

<BODY>

// target of the picture-links (HTML conventions)
var target_url="_blank"

// horizontal position of the slideshow (distance to the left margin of the window)
var horizontal_pos=10

// vertical position of the slideshow (distance to the top margin of the window)
var vertical_pos=150

// number of lamellas.
var x_slices=10

// pause beween the pictures (seconds)
var pause=2

</BODY>
 
Back
Top