margins: IE vs NS

Results 1 to 2 of 2

Thread: margins: IE vs NS

  1. #1
    dpat Guest

    Default margins: IE vs NS

    Why is it when I give my page a left margin of &#039;75&#039;pixels, Netscape won&#039;t support it and IE will?<BR>&#060;body topmargin="0" leftmargin="75"&#062;<BR><BR>thanks!

  2. #2
    Join Date
    Dec 1969

    Default RE: margins: IE vs NS

    Because that&#039;s not HTML. It&#039;s something Microsoft invented.<BR><BR>Netscape has it&#039;s own version: &#060;body marginheight="0" marginwidth="75"&#062;<BR><BR>You can put both into the same body tag but you are better off using the CSS equivalent, since it is actually part of the standard and not proprietary code that only works in one browser.<BR><BR>&#060;body style="margin-top:0px;margin-left:75px;"&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts