Solved

Graphics in the upper-left corner...

Posted on 1998-07-23
8
251 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
 

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
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.

 
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

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

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

11 Experts available now in Live!

Get 1:1 Help Now