align an image in the absolute top left corner

Posted on 2002-03-13
Last Modified: 2010-04-09
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

Question by:ablogan
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 53

Accepted Solution

COBOLdinosaur earned 100 total points
ID: 6861535
<div id="theid" style="position:absolute;top:0;left:0;margin:0;padding:0">
   <img src="yourimge.jpg" border="0">

You probably need to style the body as well with:

<body style="margin:0">


Author Comment

ID: 6861600
Worked perrrfect. Thank you very much

LVL 53

Expert Comment

ID: 6862268
Glad I could help.  thanks for the A. :^)


Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
return false must be hit after calling certain command 10 43
What cart is this? 2 33
Table doesn't show the lines! 3 23
Calculating percentage 2 27
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question