website border problem..

Discussion in 'Web Design and Development' started by djsound, Jan 24, 2011.

  1. djsound macrumors 6502a

    djsound

    Joined:
    Dec 4, 2006
    #1
  2. Photics, Jan 24, 2011
    Last edited: Jan 24, 2011

    Photics macrumors regular

    Joined:
    Jan 6, 2011
    #2
    That's the default margin size. You can turn it off in your css file or in the header of your page.

    I quickly glanced at the site code, but I think a modification of header should resolve the problem.

    Add...
    Code:
    body {
    	margin-left: 0px;
    	margin-top: 0px;
    	margin-right: 0px;
    	margin-bottom: 0px;
    }
    If you want it on every page, then modify the /css/barnonecss.css file to include the body style.
     
  3. manueld macrumors 6502

    Joined:
    Jun 8, 2009
  4. CANEHDN macrumors 6502a

    CANEHDN

    Joined:
    Dec 12, 2005
    Location:
    Eagle Mountain, UT
    #4
    This will work.
     
  5. djsound thread starter macrumors 6502a

    djsound

    Joined:
    Dec 4, 2006
    #5
    i tried putting this in the head tags but that didnt work. where do i put this? thanks
     
  6. Darth.Titan macrumors 68030

    Darth.Titan

    Joined:
    Oct 31, 2007
    Location:
    Austin, TX
    #6
    It goes into your stylesheet. Preferably one you link to from all pages. I see at least 2 linked stylesheets on the index page.

    P.S. I can verify from adding that declaration in Firebug that it will do what you want.
     
  7. djsound thread starter macrumors 6502a

    djsound

    Joined:
    Dec 4, 2006

Share This Page