SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Evangelist
    Join Date
    Jan 2002
    Posts
    420
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS Body Margins

    In the body tag margin=0 is not supported in Netscape and I am wondering if there is a way to do this with CSS in the way that the top and left margins of the page are 0 ? If it does would that work in Netscape/IE?
    Wavelan

  2. #2
    SitePoint Wizard
    Join Date
    Nov 2000
    Location
    Chico, Ca
    Posts
    1,125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "Happiness doesn't find you, you find happiness" -- Unknown
    www.chuckknows.com

  3. #3
    SitePoint Wizard Ian Glass's Avatar
    Join Date
    Oct 2001
    Location
    Beyond yonder
    Posts
    2,384
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    CSS'll work in NS6, but not in version four. I think for NS4 compatibility you would need to use marginheight and marginwidth to achieve that effect. Of course, since those attributes are non-standard and proprietary, you should avoid them. Does that clear things up? :-)

    ~~Hope This Helps

  4. #4
    SitePoint Evangelist
    Join Date
    Jan 2002
    Posts
    420
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So is there anything i can do that well show my page with 0 top and left margins in netscape 4 like it does in IE?
    Wavelan


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
  •