Solved

Graphics in the upper-left corner...

Posted on 1998-07-23
8
254 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
Technology Partners: 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!

 

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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
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.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
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…

749 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