Solved

Aligning a picture

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
multiple selects 23 62
Link not working 6 41
Compute age Html 2 24
CSS - how to make button/link change to black on hover? 2 13
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.
Find out what you should include to make the best professional email signature for your organization.
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…
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)

685 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