The vertical alignment in this case has nothing to do with the script, get rid of the <br> tags here:
Code:
<br>
<title>Jayden Sy Zimmerman's Sequential Slide Show</title><br>
They are invalid anyway (don't belong in the head there) but browsers then transfer them to the body, where they are creating that extra space at the top of the page.
If you want absolutely no space at the top, also add (highlighted):
Code:
<style type="text/css">
body {
font-family: arial;
font-size: 90%;
color: #fff;
background-color: #000;
margin: 0;
padding: 0;
}
</style>
Some other unrelated things I noticed, you don't need (get rid of all of it):
Code:
var previmg='left.gif';
var stopimg='stop.gif';
var playimg='play.gif';
var nextimg='right.gif';
and then must set (just above what we just got rid of):
Code:
var preload_ctrl_images=false;
Doing so will ease loading.
You also don't need (highlighted):
Code:
slides3.no_descriptions=0;
slides3.pause=1;
slides3.image_controls=0;
slides3.button_highlight='#cccccc';
slides3.specs='width=1024, height=768';
slides3.random=0;
slides3.manual_start=0;
slides3.jumpto=1;
slides3.width=925;
slides3.height=680;
slides3.no_added_linebreaks=1;
slides3.delay=5000;
And you shouldn't need any of those black left and right borders on the images. Getting rid of those by cropping in an image editor will save loading times and disk space. Back up the images before cropping, just in case of a problem. Since you've already set the dimensions of the show:
Code:
slides3.width=925;
slides3.height=680;
The script will center the images in that area. If you have any that are wider or taller, set the dimensions to the widest width and the tallest height.
Bookmarks