Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jul 2002
    Location
    Oak Park, IL
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Netscape Margin Help for NN

    I'm having trouble remembering how to set up margins for a site to be viewed in Netscape 4.x

    I know that it's things like "topmargin" and "leftmargin" for IE, but it's worded differently for Netscape.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    United Kingdom Confused: Often
    Posts
    859
    Thanks
    0
    Thanked 0 Times in 0 Posts
    for most browsers other than ie use marginheight & marginwidth

    so if your trying to eliminate margins you would use something like this:

    <body leftmargin="0" topmargin="0" marginheight="0" margin width="0">

    im not 100% sure that the css alternative will work in nn4.x but here it is anyways:

    <body style="padding: 0; margin: 0;">

    redhead

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    NL
    Posts
    421
    Thanks
    0
    Thanked 0 Times in 0 Posts
    > > im not 100% sure that the css alternative will work in nn4.x but here it is anyways:
    <body style="padding:0; margin:0;">

    No.
    The CSS alternative won't work in NN4.

  • #4
    Regular Coder
    Join Date
    Sep 2002
    Location
    self.location
    Posts
    181
    Thanks
    0
    Thanked 0 Times in 0 Posts
    er, just to be clear:

    you can set margins in NS4 via styles, but implementation can be problematic, espesh w/ right and bottom margins...

    What NS4 won't do via styles is reduce the body margins below its internal defaults of 8x8 pixels: it adds these values to whatever values you specify.

    Also insists you specify the unit (px), iirc...


  •  

    Posting Permissions

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