Our Site is breaking in IE8

Discussion in 'CSS' started by keress, Jul 15, 2009.

  1. #1
    We've viewed our site in IE8 and it's having trouble displaying the margin as we intended. The body margin is set at 100%. The site is supposed to fit the viewer's brower screen. It has been displaying correctly in IE and Firefox for several years, but now in IE8 it's having trouble. The right sidebar is not displaying unless the browser screen is maxed out, no matter how large the monitor.

    http://www.ncmove.com

    What could be going on?
     
    keress, Jul 15, 2009 IP
  2. Destinyx3

    Destinyx3 Peon

    Messages:
    430
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I see the trouble in Firefox as well. Make sure all the margins are resets, add this code if you haven't already:

    It's the basic trick to reset your margins.
     
    Destinyx3, Jul 15, 2009 IP
  3. keress

    keress Member

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    Tried that, but no go. I've got a zillion validation errors with this and it's time to re-work the site to bring it up to date. (It's based on an old Front Page site, lots of obsolete code sprinkled in, a nightmare, but time to get staight).

    So, I was up half the night re-working our main.html template. I'm getting an odd result. Here's a little dummy doc of the code I'm using for the top banner:

    It's published here and looks fine:

    http://ncmove.com/temp-header.html

    But on the site itself, it's coming up blank.

    http://ncmove.com/

    I've been puzzling over this for the past hour. Can anything see anything I can try?

    Thanks
     
    keress, Jul 16, 2009 IP
  4. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #4
    #welcome {
      margin-left:auto;
      margin-right:auto;
      [color=red]min-width:800px;  <<remove this[/color]
      width:90%;  
    }
    Code (markup):
    Not thoroughly tested; it may break something else.

    cheers,

    gary
     
    kk5st, Jul 17, 2009 IP
  5. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #5
    Also broken in Opera and Safari here. That the layout isn't even 1024 friendly is just the START of the problems. 172 validation errors means it's not even HTML, it's pure gibberish... Probably shouldn't even work in any browser, and if it does it is by blind luck and NOT by design.

    Of course, it should be a monster warning sign that whatever you are based upon for a CMS needs a url like this just for a normal menu item
    http://www.ncmove.com/index.php?LM_MST_LIST_PRC-min=&amp;LM_MST_LIST_PRC-max=&amp;LM_MST_bdrms-min=&amp;LM_MST_bdrms-max=&amp;LM_MST_baths-min=&amp;LM_MST_baths-max=&amp;LM_MST_SQFT_N-min=&amp;LM_MST_SQFT_N-max=&amp;mls_num%5B%5D=&amp;listing_agent_id%5B%5D=&amp;LM_MST_HLT%5B%5D=water+access&amp;action=searchresults&amp;pclass%5B%5D=
    Code (markup):
    IF that's not a sign something's not kosher, I don't know what is.

    You may wish to consider hiring a developer who understands HTML/CSS to clean it up for you and bring the site into THIS century before the century ends. I'd have to throw that mess out and start over from scratch to even TRY to fix the multitude of issues I'm seeing here. From what I'm seeing for design and code, this was written in what, 1997-1998ish?
     
    deathshadow, Jul 17, 2009 IP
  6. keress

    keress Member

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #6
    Okay, okay, I've heard enough insults about this old legacy site. Truth is, the site is near the top of Google for its keywords and has been for many years. Google loves sites like that, with a lot of longevity, written in old crummy code. Unfortunately, in this market, even that's not enough to be bringing in the income for the kind of massive overhaul we're hearing it needs. Most of these insulting remarks do seem a bit sophomoric, as in folks who are not yet fully engaged in the realities of the business world.

    Yesterday somebody told me we need to spend 100 hours rewriting. Okay, so who's going to pay for that? LOL. Maybe that commentor is still living at home with mommy and daddy and can spend whatever time he/she pleases playing around with sites and turning the code into stunningly concise poetry. This is a site that for many years was done on an amateur basis by a realtor. Her hubby still has one of those rustic Front Page sites up, and it ranks above hers, consistently.

    She still intends to make edits herself, which she generates with Front Page. I can't tell you how many hours I've eaten trying to clean all that up. In her view, it works, she's not going to pay me for something she sees as unnecessary. If somebody wants to be truly helpful, they could recommend an editor she could use that would generate valid CSS code.

    As for the URL's, they are what the CMS involved generates.

    The site is no longer broken in IE8. It looks like I'll eat 12 hours on this one. I"m done.
     
    keress, Jul 17, 2009 IP