Solved

Graphics in the upper-left corner...

Posted on 1998-07-23
8
250 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

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 demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

758 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

21 Experts available now in Live!

Get 1:1 Help Now