[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Displaying image on the top left without border

Posted on 2000-03-10
10
Medium Priority
?
182 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
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

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

Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Geo-targeting is the practice of distributing content based on a person’s location, as best as you can determine it. Let’s look at some ways you could successfully use this tactic. The following tips and case studies could lead to meaningful results.
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
Suggested Courses

649 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