1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Strange CSS BUG in IE

Discussion in 'CSS' started by k9webdesign, Jul 5, 2011.

  1. #1
    Hi guys, as much as I hate to ask for help, I have spent all day trying to figure out and thought one of you guys might be kind enough to help out.

    The website is www.cheap-car-insurance-britain dot co dot uk and in firefox its all fine but in IE its all bunched over to the left and all messed up.

    Would really appreciate if anyone car shed any light on why.

    Thanks

    Andy
     
    k9webdesign, Jul 5, 2011 IP
  2. webxhtml

    webxhtml Peon

    Messages:
    25
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    webxhtml, Jul 5, 2011 IP
  3. harry.singh

    harry.singh Active Member

    Messages:
    38
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    98
    #3
    Hello Andy,

    Your problem is simple go to your header.php and find the following line


    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    
    HTML:
    and replace with

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    HTML:
    this is all you have to do ...... :)

    Regards,
    Harry
     
    harry.singh, Jul 5, 2011 IP
  4. k9webdesign

    k9webdesign Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks Harry,

    Thats perfect you saved my life.

    lol @ webxhtml :)

    Thanks

    Andy
     
    k9webdesign, Jul 6, 2011 IP
  5. webxhtml

    webxhtml Peon

    Messages:
    25
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Why lol ? u still got 10 errors and sait is messed up in ie 6. I try 2 give u a good advise.
     
    webxhtml, Jul 6, 2011 IP
  6. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #6
    New web pages have no need for the transitional doctype. All new web pages should use strict.
     
    drhowarddrfine, Jul 6, 2011 IP
  7. k9webdesign

    k9webdesign Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    yeah not sure what happened there, code originated from wordpress or dreamweaver.

    Thanks for the heads up guys.
     
    k9webdesign, Jul 6, 2011 IP