SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Jan 2002
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Border around page when linked there???

    http://www.imahosting.com/cicid/index.php

    Now when you get there, there will be about a 10 pixel black border along the bottom and right sides which I don't want.
    However when you refresh the page, you'll notice the borders have gone.

    Any ideas what's wrong?

  2. #2
    SitePoint Guru
    Join Date
    Jul 2000
    Location
    Long Island, NY
    Posts
    755
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    CSS should do it:


    BODY {
    margin-bottom : 0px;
    margin-left : 0px;
    margin-right : 0px;
    margin-top : 0px;
    }

    However, I've found I had to add the very non-standard rightmargin="0" to the body tag, too, even to make it work in all "standards compliant" browsers. I've never tried for no bottom margin, really, so not sure about that.

  3. #3
    SitePoint Guru
    Join Date
    Jul 2000
    Location
    Long Island, NY
    Posts
    755
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by psalzer

    However, I've found I had to add the very non-standard rightmargin="0" to the body tag, too, even to make it work in all "standards compliant" browsers. I've never tried for no bottom margin, really, so not sure about that.
    ....and I just found out why:

    http://www.sitepointforums.com/showt...threadid=61628


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
  •