PDA

View Full Version : How do I make my image begin directly on the top of the page???



MarcusDiablo
06 Jun 2008, 07:01 AM
Hi Everyone!
I have a problem :bawling: . I want to have my header swf directly on the top of the page. I don't knw how to explain this so have a look at the image I have attached.
In the image you will e able to see a red box that I edited in to show you the space between the top of the page and the image that I want to be on the top of the page.

Can someone help me?
Thank You
http://img183.imageshack.us/img183/1599/importacarqq2.th.jpg (http://img183.imageshack.us/my.php?image=importacarqq2.jpg)

kudos
06 Jun 2008, 07:29 AM
Difficult without seeing the code, but try and make sure there are no unwanted margins or padding.

as a safety measure, add:

body {
margin:0;
padding:0;
border:none;
}

to your css.
You should also do this for your swf's container (object/embed whatever youre using)