Solved

Displaying image on the top left without border

Posted on 2000-03-10
10
179 Views
Last Modified: 2013-12-24
I'm trying to make my image flush to the top-left of the screen with no white space around it.  It looks great in Frontpage but when previewed in a browser I get a thin white space on the top of the image and going down the left side.  I tried putting it in a table and turning the cell-padding to zero but that did not seem to work.
0
Comment
Question by:snocross
[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
  • 3
  • 2
  • 2
  • +3
10 Comments
 
LVL 9

Expert Comment

by:TTom
ID: 2606703
Have you tried putting the image at the top of your page and adding:

<body topmargin=0 leftmargin=0>

You may also need some other variation to deal with NS, but this might work for IE.

Tom
0
 
LVL 3

Expert Comment

by:fibdev
ID: 2607007
Tom's suggestion will solve the problem in msie, but netscape does not support 0 margins :(  I very badly wish that it did.  You could also use absolute positioning, but only newer versions of netscape will support it, and not very well from a stability point of view I might add.

<span style="position: absolute; left: 0; top: 0"><img border="0" src="images/myimage.gif" width="100" height="50"></span>

It's worth a shot.
0
 
LVL 5

Author Comment

by:snocross
ID: 2609995
I did have my topmargin and leftmargin set to zero and it does work in IE but not Netscape
0
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 
LVL 2

Expert Comment

by:READER
ID: 2610982
I think your problem has to do with "Browser Offset".

If so you will find an explanation and some solutions to this problem  at the following address

http://www.dsiegel.com/tips/wonk14/
0
 
LVL 3

Accepted Solution

by:
bark10 earned 50 total points
ID: 2612072
for netscape use "marginheight="0"" and "marginwidth="0"" along with topmargin and leftmargin in the body tag.  this may not help your problem but if you frequently set the top and left margins for ie it is good practice to use these two also.
0
 

Expert Comment

by:ProWebSites
ID: 2773901
  Put this in you body tag:
<BODY topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

   This should work in any browser that happens by your site.

  This has already been answered in this thread, but in code, like above.

Warmest Regards,
Steven Fredette
President ProWebSites.net
Indianapolis, Indiana. USA http://www.prowebsites.net
Site includes: FrontPage help, and links to other FrontPage help sites.
For the rest of this sig. file http://www.prowebsites.net/sig.htm
0
 
LVL 3

Expert Comment

by:bark10
ID: 2773958
Steven

If you admit that these answers have already been given by others, then why resubmit them as yours for points?
0
 

Expert Comment

by:ProWebSites
ID: 2773997
  So I don't receive the points is why. The reason I even answered is it wasn't in code form, and thought the person asking the question might not understand the other folks that answered, but didn't spell it out in coding for both IE and NN.

Warmest Regards,
Steven Fredette
President ProWebSites.net
Indianapolis, Indiana. USA http://www.prowebsites.net 
Site includes: FrontPage help, and links to other FrontPage help sites.
For the rest of this sig. file http://www.prowebsites.net/sig.htm 
 
0
 
LVL 5

Author Comment

by:snocross
ID: 2776825
Thanks for trying to help but It's only fair I give the points to bark10...
0
 
LVL 5

Author Comment

by:snocross
ID: 2776831
This worked, thank you.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. This will be demonstrated using a Windows 8 PC Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php :…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

726 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