Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
can anyone tell me why this site I am working on has a 5 pixel or so border around all the outside edges? I don't want it to...thanks

http://barnoneranches.com/index.html

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.
 
Last edited:
i tried putting this in the head tags but that didnt work. where do i put this? thanks

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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.