IE -v- CSS & new forum

Discussion in 'HTML & Website Design' started by AstarothSolutions, Mar 26, 2008.

  1. #1
    A mate has asked me to have a look at his new hobby as he is having problems with the forum layout..... if you look at wiispace.co.uk and compare to forum.wiispace.co.uk you will see they both work fine in FireFox but in all versions of IE the forum is left aligning etc, can anyone spot the cause of the problem?

    Cheers
     
    AstarothSolutions, Mar 26, 2008 IP
  2. VimF

    VimF Well-Known Member

    Messages:
    307
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    118
    #2
    Find this
    
    body {
    	text-align:left;
     }
    
    Code (markup):
    ...then change it to
    
    body {
    	text-align:center;
     }
    
    Code (markup):
     
    VimF, Mar 26, 2008 IP
  3. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the suggestion, will try it later when I have a few minutes spare but given that is in a common CSS file that is present in both the forum sub domain and the main site I am surprised it would be causing the issue given that it works fine in IE in one and not the other.
     
    AstarothSolutions, Mar 26, 2008 IP
  4. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #4
    You will never get IE to attempt to perform like modern browsers without a proper doctype. The second page has none and puts IE into quirks mode.
     
    drhowarddrfine, Mar 26, 2008 IP
  5. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Its annoying, i noticed the exact same error on his other site for him and just didnt spot it on this one.

    Thanks for the help
     
    AstarothSolutions, Mar 26, 2008 IP