Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jun 2012
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts

    IE & Firefox alignment problems

    My header is centered (the way it should be) in Firefox but right aligned in Internet Explorer. HELP! i don't know how to fix this.

    http://www.mchistory.org/mcmh_about_museum.html

    it happens on a few other pages on the site as well. oy.

    Thanks for your help in advance.

  • #2
    Regular Coder
    Join Date
    Apr 2012
    Posts
    165
    Thanks
    1
    Thanked 39 Times in 39 Posts
    Um.... there's a LOT of problems with your code. Just a few issues:

    1. Your <title> tag is in the body of the site -- move it up to the <head> where it belongs.

    2. You have 2 main tables, which are separated in the middle of your page by a a javascript function AND a style sheet. There are so many <tr> and <td> tags in each table that are either single cells or span multiple columns and/or rows that it's super hard to track. However, it appears that some rows/columns have too many cells (or not enough cells)... Might want to double check those.

    3. Why is everything hard-coded even though you have a style sheet? (Speaking of which, your style sheet should not be randomly slapped into the middle of the <body> of your page. You should call it externally.)

    4. You call the following code in the middle of your page body:
    Code:
     <meta http-equiv="Content-Type" content="text/html;
          charset=ISO-8859-1">
        <!--- include header --->
    That meta tag is already included in the <head> and doesn't belong in the body.

    5. Not sure what this was intended to do, but it certainly isn't calling a javascript file! It's calling another html page (which actually does include the code for your header) but you're not using any divs, spans or frames so it's just kinda hanging out there:
    Code:
    <script language="javascript" src="header.html"></script>
    6. Then you have the 2nd table which, after further review, has another 4 or 5 tables nested inside it.

    I hate to say it, but it's a mess! The copyright of 2007 is a dead giveaway this site isn't going to work right in certain browsers. It's outdated code and needs to be re-written (and I'd suggest a bit of a makeover. A site that is only 754p wide is really small on a standard monitor today.
    Last edited by EpicWebDesign; 06-19-2012 at 11:08 PM.

  • #3
    New Coder
    Join Date
    Jun 2012
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts
    thanks for your help, i'll work on this Friday. i didn't write the code, i'm just trying to fix it and i'm learning as i go along! we don't have a contract with the company that built the site so we get basically no customer service. I'll probably check back here on Friday with more questions. THANK YOU!

  • #4
    Regular Coder
    Join Date
    Apr 2012
    Posts
    165
    Thanks
    1
    Thanked 39 Times in 39 Posts
    Please feel free to PM me! I hate it when I deal with clients who are left with a bad developer from years prior who offer no assistance. I will do what I can to assist you.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •