SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    I LOVE THIS SITE ! ! ! DougD's Avatar
    Join Date
    May 2000
    Location
    San Diego, CA
    Posts
    463
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Netscape - Leftmargin=0 Topmargin=22 ???

    Is there a way to flush a website to the left and set the topmargin when viewed in Netscape? I have tried a ton of different things and nothing works. I am trying to add one of those nifty dhtml dropdown menus to a site, and it is setup with absolute positioning. I can get it to look great in IE, but with Netscape... I can't figure out how to align it up.

    Any suggestions would be appreciated...

    Thanks,

    Doug
    P.S. I hate NETSCAPE!

  2. #2
    SitePoint Guru bronze trophy blufive's Avatar
    Join Date
    Mar 2002
    Location
    Manchester, UK
    Posts
    853
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    netscape 4 or netscape 6/7?

  3. #3
    I LOVE THIS SITE ! ! ! DougD's Avatar
    Join Date
    May 2000
    Location
    San Diego, CA
    Posts
    463
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Either or? I can't get it to work in any version, but if I could only choose one, then the newer version preferably.

    Thanks,

    Doug

  4. #4
    SitePoint Evangelist
    Join Date
    Jan 2002
    Posts
    420
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In IE it is:
    Code:
    <body leftmargin="0" topmargin="0">
    But, in older versions of Netscape (not to standard) it is:
    Code:
    <body marginwidth="0" marginheight="0">
    You can then combine those to work in both:
    Code:
    <body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
    And then for newer browsers you can use CSS:
    Code:
    body {
    margin: 0px;
    }
    Wavelan

  5. #5
    I LOVE THIS SITE ! ! ! DougD's Avatar
    Join Date
    May 2000
    Location
    San Diego, CA
    Posts
    463
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Worked PERFECTLY...

    Thank-you very much!

    Doug


Bookmarks

Posting Permissions

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