Please Help!

They have: 4 posts

Joined: Dec 2004

Hi

I've got a hybrid site half flash/html. Basically what i want to do is keep my movie loading in the centre, so that when viewed in 1024*768 resolution the movie loads in the centre of the page. But when viewed in 800 by 600 because of the size of my movie it should exactly fit horizontally without a scroll bar. Ive set all margins to 0 but the page still loads with a little space to the left side creating a scroll bar.

You probably cant understand what im trying to say so its better if you have a look, here's the web address:

http://www.ecdl4life.co.uk/click4pc/index.php

Here's the code im using:

Welcome to Click4PC- The Complete IT Solution Provider

<script type="text/javascript" language="javascript">
var sc_project=485765;
var sc_partition=3;
</script>

<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script>

counter free hit unique web

Is there any way i can set the left margin to absolute zero so it loads with no space to the left?

Thanks in advance

CptAwesome's picture

He has: 370 posts

Joined: Dec 2004

Well, it's possible that the scrollbar width could have something to do with it, and you might also want to make sure there is no "auto padding" if so, set the padding to 0

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.