align an image in the absolute top left corner

Does any one know how I can postion my graphic in the top left corner of my html page with no padding or spaces. I need this to work in netscape and ie

Regards
Al
abloganAsked:
Who is Participating?
 
COBOLdinosaurConnect With a Mentor Commented:
<div id="theid" style="position:absolute;top:0;left:0;margin:0;padding:0">
   <img src="yourimge.jpg" border="0">
</div>

You probably need to style the body as well with:

<body style="margin:0">


Cd&
0
 
abloganAuthor Commented:
Worked perrrfect. Thank you very much

Cheers
0
 
COBOLdinosaurCommented:
Glad I could help.  thanks for the A. :^)

Cd&
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.