Solved

Aligning a picture

Posted on 1998-09-01
4
151 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
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.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

895 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

15 Experts available now in Live!

Get 1:1 Help Now