Jump to content

Html Integration portal content will not center


Recommended Posts

Hello, I need some help asap if you visit http://crazedhosting.com/Billing you will see the middle portal content is not centered with the theme. I'm not sure why its doing this also there is a gap between the header and the middle content and same with the footer. Please Help this is putting a delay on the launch of our new page.:|

Link to comment
Share on other sites

Hello, I need some help asap if you visit http://crazedhosting.com/Billing you will see the middle portal content is not centered with the theme. I'm not sure why its doing this also there is a gap between the header and the middle content and same with the footer. Please Help this is putting a delay on the launch of our new page.:|

 

Here is a quick and dirty fix for you. To center the middle portal content and remove the gap between the header and the middle content and footer, do this:

 

Find this line of code:

<table id="mainframe">

 

Replace it with this line of code:

<table id="mainframe" style="margin:0 auto;">

 

Find this line of code:

<div id="content_container">

 

Replace it with this line of code:

<div id="content_container" style="margin-top:0;">

 

Find these two line of code:

<div id="footer">

<p> </p>

 

Replace it with this one line of code:

<div id="footer">

 

(Event better, you should take the inline CSS in the code above and place it in your external CSS file. If you don't understand how, don't worry about it.)

 

Please be aware that you have linked to your stylesheet two times in the header! They look like this:

<link rel="stylesheet" type="text/css" href="templates/integration - Copy/style.css" />

You should delete one of them from your HTML HEAD-element (but it is not necessary for the fixes above to work). Also I would advise against using empty space in file names.

Edited by ditto
Link to comment
Share on other sites

Never Mind I got it Once again thanks for all the help.

 

No problem! But maybe you should make the main content have more width? You could do that with something like this:

 

Find this line of code:

<div id="content_left">

 

Change it to this (or any other width)

<div id="content_left" style="width:720px;">

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated