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
Solved

Aligning a picture

Posted on 1998-09-01
4
154 Views
Last Modified: 2010-04-09
I have an html page with only one image. I want that there will be not space between the top and left of the page with the image. How can I do it ? ? ?
Thanks..........
0
Comment
Question by:juanryahoo
  • 2
4 Comments
 

Accepted Solution

by:
JerreBatson earned 100 total points
ID: 1837272
Add this style code to the heading of your page ...
<STYLE> <!--
BODY {
            margin-top: 0;
            margin-left: 0;
            padding: 0;
}
--> </STYLE>
0
 
LVL 8

Expert Comment

by:jbirk
ID: 1837273
The above example would not work for me in Netscape 4.05 for some reason, but the following does work in IE 4 AND Netscape 4.x:
<BODY marginheight=0 marginwidth=0 topmargin=0 leftmargin=0>

-Josh
0
 

Author Comment

by:juanryahoo
ID: 1837274
Perfect ! ! !
Thanks...
0
 
LVL 8

Expert Comment

by:jbirk
ID: 1837275
Did you use my solution or JerreBatson's solution?  The reason I ask is because you have graded his answer, so he gets the points.  If you had used my solution, you should have rejected the answer, and asked me to answer it so you could grade me.
I just wanted to make sure you understood how the grading worked.
-Josh
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

791 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