• j634

    (@j634)


    Hi,

    I have a HTML page that works perfectly in IE7 and FF. There are no issues and the code (css and xhtml) validates perfectly.

    I have copied the index.html over to an index.php and set up the css to register in wordpress themes. In FF everything is the same as before, but now in IE the site (header area and content area) both shift left.

    Now in my themes folder I have an images folder a style.css and an index.php.

    I don’t understand why the site is now broken in IE after changing the index.html into an index.php.

    Does anyone have any thoughts?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • stvwlf

    (@stvwlf)

    hi

    sorry, that is not enough info to give you an answer. the best way to get help is post a URL. then someonecan tell you exactly why the site has shifted and what to do to move it back.

    Thread Starter j634

    (@j634)

    Thanks for the reply, but the site is no where near being live yet. I am working from a localhost.

    When I view page source I noticed a closing div tag has appeared.

    </div><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    The div tag is not appearing on notepadd++

    lhoylhoy

    (@lhoylhoy)

    go to wpport.com and download themes there then open the header.php then copy every from the top up to the </head> then replace it to yours. its a standard wordpress header so it must work ok?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Converting html to php’ is closed to new replies.