Solved

align an image in the absolute top left corner

Posted on 2002-03-13
3
141 Views
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

Regards
Al
0
Comment
Question by:ablogan
  • 2
3 Comments
 
LVL 53

Accepted Solution

by:
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">
</div>

You probably need to style the body as well with:

<body style="margin:0">


Cd&
0
 

Author Comment

by:ablogan
ID: 6861600
Worked perrrfect. Thank you very much

Cheers
0
 
LVL 53

Expert Comment

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

Cd&
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
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)

770 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