Solved

align an image in the absolute top left corner

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now