Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

IE4 IE5 NS4.5 NS4.0 Margin/Style Incompatiblity

Posted on 1999-01-21
3
Medium Priority
?
284 Views
Last Modified: 2010-04-09
I'm having a problem with the Margins/Styles for Netscape 4.5, 4.0, and Internet Explorer 4.0 and 5.0.   The problem
is that I have a background graphic, and am trying to allign text and graphics up in a window with 0 border/margin.  It seems IE 4.0 and 5.0 handle the Margin's differently.  And Netscape 4.0 and 4.5 ignore it, but use Styles.  But neither of the Netscapes start at a true (0,0) pexil origin.  Is there a way to combat this problem short of Scripting a page to call up different HTML code for each browser?
0
Comment
Question by:RobTaylor
3 Comments
 
LVL 6

Expert Comment

by:PBall
ID: 1845592
<style>
body {
  margin:0px 0px 0px 0px;
  padding:0px 0px 0px 0px;
}
</style>

try that...
0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1845593
<BODY MARGINTOP="0" MARGINLEFT="0" MARGINBOTTOM="0" MARGINRIGHT="0">  works in Netscape.
0
 

Accepted Solution

by:
ppaulinolopes earned 200 total points
ID: 1845594
You could change the registry of IE to set margins to zero.

How?

Run REGEDIT.EXE from 'Start -> Run' and go to "My Computer\HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup" directory.

Then, click on margim_bottom, margim_left, margim_right and margim_top, and set values to "0.000000" (without quote marks).

p.s.: note that is important to set the value with all zero digits.

Good Luck!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
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 …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

782 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