How to make right sidebar stay in place in IE

Discussion in 'CSS' started by xxsAm, May 31, 2007.

  1. #1
    xxsAm, May 31, 2007 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    1. There is no DTD. IE, especially, does not render according to current specs without it. X-browser compatibility is almost impossible if browsers aren't following the same rules.

    2. You have a potload of syntax errors in your markup. Each browser has its own methods of dealing with errors in the markup. You cannot expect consistent results from invalid markup.

    Please correct your errors. It's hard enough to debug valid code.

    cheers,

    gary
     
    kk5st, Jun 1, 2007 IP
  3. xxsAm

    xxsAm Active Member

    Messages:
    464
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    #3
    made some changes so for the people looking now and noticing the page i listed is gone you can see what im talking about on the home page located at http://www.layoutsmart.com

    The code is valid now, however it is still moving in IE. Any help?
     
    xxsAm, Jun 1, 2007 IP
  4. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #4
    You should check your links.

    cheers,

    gary
     
    kk5st, Jun 2, 2007 IP
  5. xxsAm

    xxsAm Active Member

    Messages:
    464
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    #5
    xxsAm, Jun 2, 2007 IP
  6. xxsAm

    xxsAm Active Member

    Messages:
    464
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    #6
    Ok well, I got it so both browsers interpret it the same way. I want to make it so they both don't make the right sidebar move in when its resized.
     
    xxsAm, Jun 2, 2007 IP
  7. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #7
    IE6 doesn't grok min or max widths, so it's trying to render a liquid width page. You could feed IE6 a separate width value. It would still act differently from Firefox et al, but your visitor won't be switching back and forth, so he'll never know.
    
    * html #wrapper {
      width: 965px;  /*or whatever you think best*/
      }
    Code (markup):
    cheers,

    gary
     
    kk5st, Jun 3, 2007 IP
  8. xxsAm

    xxsAm Active Member

    Messages:
    464
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    #8
    That did the trick for IE, is there something I can do to have it stay still in firefox also? Thanks for the help kk5st.
     
    xxsAm, Jun 4, 2007 IP