Solved

Graphics in the upper-left corner...

Posted on 1998-07-23
8
253 Views
Last Modified: 2010-05-19
Hello,
Is it possible to butt graphics up to the upper-left corner of the browser windows, without any browser border and without having to use frames?  I'm trying to line up graphics in Netscape 3.0 and IE3.0, or greater, and I want the graphics to begin exactly in the corner.

Thanks in advance,
malkin
jeffm@millerhuber.com
0
Comment
Question by:malkin
  • 4
  • 3
8 Comments
 
LVL 12

Expert Comment

by:Otta
ID: 1844842
Try:
<HTML>
<HEAD> <TITLE> test </TITLE> </HEAD>
<BODY>
<IMG SRC="images/DILBERT.GIF"
WIDTH=500 HEIGHT=100
VALIGN="top"
ALIGN="top">
text after
<BR>
more text
<BR>
end
</BODY>
</HTML>
0
 

Author Comment

by:malkin
ID: 1844843
Maybe you didn't understand the question:

I need the graphics to begin exactly in the upper-left hand corner with NO PIXELS between the graphic and the browser border.
In other words, no default browser border inside the window.

Anybody?
0
 
LVL 12

Expert Comment

by:Otta
ID: 1844844
Use the <BODY> tag to eliminate the "default-margins".
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:malkin
ID: 1844845
Have you even tested your own suggestion?  This isn't a basic question and your code does not solve my question.

What do you mean by, "Use the <BODY> tag to eliminate the "default-margins"." ?
0
 
LVL 12

Accepted Solution

by:
Otta earned 100 total points
ID: 1844846
I've looked at the "Bare Bones Guide to HTML"
(at: http://werbach.com/barebones/ )
and there is *NO* way (in HTML 3.2 nor HTML 4.0)
to achieve the result you want;
the browser (by the way, which browser are you using???)
sets its own margins, and they cannot be modified.

So, you are asking the impossible.
0
 

Author Comment

by:malkin
ID: 1844847
thanks
0
 

Expert Comment

by:alexswebsite
ID: 1844848
There IS a way to do what you want.  You just add a couple simple things to the BODY tag.

<BODY LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">

That should do it.  I just wish I could get some points out of this
0
 

Author Comment

by:malkin
ID: 1844849
I'll give you some points, how?
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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 discusses four methods for overlaying images in a container on a web page
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)

828 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