Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...