Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Graphics in the upper-left corner...

Posted on 1998-07-23
8
Medium Priority
?
261 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
[X]
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
  • 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
Industry Leaders: 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 200 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

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.
This article discusses four methods for overlaying images in a container on a web page
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…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

610 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