clhend Posted November 17, 2010 Report Posted November 17, 2010 Just finished designing a website using a template I've used before. For some reason this one is not centering on the page. I've tried adjusting the CSS but that doesn't seem to be the problem. As the page is loading it's centered, but the moment it finishes loading it snaps back to the left. Would appreciate any input: w ww.best-cre dit-cards-to-have.com Thank you Quote
falkencreative Posted November 17, 2010 Report Posted November 17, 2010 A couple CSS tweaks will fix the issue. -- remove the width from the body (roughly line 5 of style.css) -- remove any existing margin from #wrap, add "margin:0 auto;" (roughly line 36) Quote
clhend Posted November 17, 2010 Author Report Posted November 17, 2010 A couple CSS tweaks will fix the issue. -- remove the width from the body (roughly line 5 of style.css) -- remove any existing margin from #wrap, add "margin:0 auto;" (roughly line 36) Perfect!!! Thank you so much! BTW - how did you know what the css file had? I know page source, but not how to access a css. Quote
newseed Posted November 17, 2010 Report Posted November 17, 2010 He used a couple of add-ons for Firefox browser: Web Developer Tool and Firebug Internet Explorer and Safari have their own add-ons but I believe using the two plugins above for Firefox is far easier, more effective and time saving to use. Quote
falkencreative Posted November 17, 2010 Report Posted November 17, 2010 Newseed is right - I used Firebug. However, CSS is just text, so I could have also accessed the CSS directly (ht tp://www.best-c redit-cards-to-have.com/support-files/style.css) Quote
clhend Posted November 17, 2010 Author Report Posted November 17, 2010 He used a couple of add-ons for Firefox browser: Web Developer Tool and Firebug Internet Explorer and Safari have their own add-ons but I believe using the two plugins above for Firefox is far easier, more effective and time saving to use. thank you. doing it now. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.