SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast idoogleceo's Avatar
    Join Date
    Dec 2001
    Location
    a cardboard unix box
    Posts
    96
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Netscape......ugh!

    Can someone tell me how to remove the big blank space at the top of the page in NS?

    Basically the body attributes (topmargin, leftmargin, rightmargin, etc...) is not recognized by NS, so it leaves a huge space at the top.

    Does anyone know a way around this?
    AvidNewMedia - Premium NAC bandwidth
    [Shared Solutions] [Private Label Reseller Solutions] [Dedicated Solutions]
    Instant Account Setup! Signup Today!

  2. #2
    SitePoint Wizard iTec's Avatar
    Join Date
    May 2001
    Location
    Sydney, Australia
    Posts
    2,243
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    marginwidth="0" marginheight="0"

  3. #3
    SitePoint Guru Marc's Avatar
    Join Date
    Nov 2000
    Location
    New York
    Posts
    765
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think those attributes in CSS work on the newer netscapes, but if you're talking about Netscape 4, I think there is a marginwidth and marginheight attribute of the body tag... something like this should work:

    <body marginwidth="0" marginheight="0">

    Back then, they couldn't even agree on the margin declarations, and I used have to use this on all my sites to please both IE and Netscape:

    <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
    Marc Gugliuzza
    marc.gugliuzza.com



  4. #4
    SitePoint Guru Marc's Avatar
    Join Date
    Nov 2000
    Location
    New York
    Posts
    765
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    damn you beat me to it!
    Marc Gugliuzza
    marc.gugliuzza.com



  5. #5
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    How about using CSS...

    Code:
    body {margin: 0px 0px 0px 0px;}
    Works in all modern browsers where the kludges already mentioned are proprietary and don't work everywhere as noticed.
    Wayne Luke
    ------------


  6. #6
    SitePoint Enthusiast idoogleceo's Avatar
    Join Date
    Dec 2001
    Location
    a cardboard unix box
    Posts
    96
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cool thanks. We've usually never worried about NS in the past, until I just recently decided to take a look at a new design we've been working on. Since it's in frames, and those top alignments were primarily for IE.....it was well f***ed in NS.

    Never had this situation before, believe it or not, so we've never had to worry about it.
    AvidNewMedia - Premium NAC bandwidth
    [Shared Solutions] [Private Label Reseller Solutions] [Dedicated Solutions]
    Instant Account Setup! Signup Today!


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
  •