Solved

align an image in the absolute top left corner

Posted on 2002-03-13
3
145 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
[X]
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
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

615 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