Click to See Complete Forum and Search --> : Align Top doesnt work


SlappyBag
08-18-2007, 11:23 AM
Argh, I'm trying to make my online portfolio and the main page has a fade along all the edges. Anyway, I'm doing this by cutting up the image into sections and putting them on the page in Dreamweaver 8. I align one of the images to the top but there still appears to be a tiny gap, about a centremetre between the top of the image and the top of the page. I wish for my image to be at the absolute top.

Please help.

Thank you.

Image:
http://img149.imageshack.us/img149/9799/lawljesuskw5.jpg

WebJoel
08-18-2007, 11:31 AM
Are you using IE?

Can you add styles?

<style> body, html {padding:0; margin:0;}
</style>

will remove the default 'padding' & 'margin' from the body, html (about a cm).

SlappyBag
08-18-2007, 11:35 AM
Thank you very much, that worked perfectly.