generalexperts Posted February 15, 2014 Share Posted February 15, 2014 I'm trying to find the correct file to make some changes. When I open my site in firebug and add a background color I see a small 8px margin around the entire page. I want to edit that margin! and make it ZERO. I've spent the last hour trying to locate this file!! Please help! When looking at my site on firebug it shows <body id="index" class=" " style="margin: 0px;"> and I also see it as: element.style { margin: 0; Both those zero's is the value I want to change. Thanks! Link to comment Share on other sites More sharing options...
Carlsen Posted February 15, 2014 Share Posted February 15, 2014 Hi, Please post the link to your site. Link to comment Share on other sites More sharing options...
generalexperts Posted February 15, 2014 Author Share Posted February 15, 2014 (edited) http://tinyurl.com/n5pfy52, thank you! Edited February 15, 2014 by generalexperts (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted February 15, 2014 Share Posted February 15, 2014 global.css use this: body {margin:0px!important;} Link to comment Share on other sites More sharing options...
generalexperts Posted February 15, 2014 Author Share Posted February 15, 2014 Found it, thank you! Would you be able to explain or link me to a place where it explains element.style that I am seeing in Firebug? I'd like to know more as it seems to be very helpful to know about... when editing the global.css file... Link to comment Share on other sites More sharing options...
PascalVG Posted February 16, 2014 Share Posted February 16, 2014 element.style is the style that's defined on the element - directly - using style="" also called inline style: http://www.w3schools.com/css/css_howto.asp e.g: <div id="myelement" style="display:block;" would show a element.style { display:block; } in firebug. My 2 cents, pascal. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now