djsound macrumors 6502a Original poster Dec 4, 2006 791 17 Jan 24, 2011 #1 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
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
P Photics macrumors regular Jan 6, 2011 172 0 Jan 24, 2011 #2 djsound said: 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 Click to expand... 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: Jan 24, 2011
djsound said: 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 Click to expand... 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.
CANEHDN macrumors 6502a Dec 12, 2005 855 0 Eagle Mountain, UT Jan 24, 2011 #4 manueld said: or to make it easier: body{ margin: 0;} Click to expand... This will work.
djsound macrumors 6502a Original poster Dec 4, 2006 791 17 Jan 24, 2011 #5 manueld said: or to make it easier: body{ margin: 0;} Click to expand... i tried putting this in the head tags but that didnt work. where do i put this? thanks
manueld said: or to make it easier: body{ margin: 0;} Click to expand... i tried putting this in the head tags but that didnt work. where do i put this? thanks
Darth.Titan macrumors 68030 Oct 31, 2007 2,908 754 Austin, TX Jan 24, 2011 #6 djsound said: i tried putting this in the head tags but that didnt work. where do i put this? thanks Click to expand... 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.
djsound said: i tried putting this in the head tags but that didnt work. where do i put this? thanks Click to expand... 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.