CSS works fine in HTML, Broken in PHP? Help!

by Dexx
3 replies
  • WEB DESIGN
  • |
Hey Guys,

I downloaded a video squeeze page template that I'm planning to use as a template in wordpress.

My issue is this:

The website looks fine in html version -
Classic - OPT-In page

but when just SAVED as php the css breaks or something-
Edmonton Search Engine Optimization | SEO | Website Marketing

NOTE: The .php version looks fine in FIREFOX, but it is INTERNET EXPLORER that it is broken in...

Can anyone see why I.E. would break just by changing it to .php, but FireFox has no issues?


Thanks!
#broken #css #fine #html #php #works
  • Profile picture of the author Aronya
    The only thing I really see is the top of your headline is cut off. I took this: <h1 align="center" class="style4" id="headliner" style="margin-top:-70px;"><span class="style17 style5">How To Make More Money

    and changed it to this: <h1 align="center" class="style4" id="headliner" style="margin-top:70px;"><span class="style17 style5">How To Make More Money

    and that fixed that problem. You'd just need to experiment with that margin setting, if that's all that's wrong.
    {{ DiscussionBoard.errors[1290344].message }}
  • Profile picture of the author mojojuju
    Originally Posted by Dexx View Post

    Hey Guys,

    I downloaded a video squeeze page template that I'm planning to use as a template in wordpress.

    My issue is this:

    The website looks fine in html version -
    Classic - OPT-In page

    but when just SAVED as php the css breaks or something-
    Edmonton Search Engine Optimization | SEO | Website Marketing

    NOTE: The .php version looks fine in FIREFOX, but it is INTERNET EXPLORER that it is broken in...

    Can anyone see why I.E. would break just by changing it to .php, but FireFox has no issues?


    Thanks!
    The first file has this reference to a javascript file which looks like it could have something to do with modifying the look of the headers. The second link doesn't have it. Might be worth looking into.
    HTML Code:
    <script type="text/javascript">
        Cufon.replace('h1');
        Cufon.replace('h2');
    </script>
    Signature

    :)

    {{ DiscussionBoard.errors[1291020].message }}
    • Profile picture of the author Dexx
      Originally Posted by mojojuju View Post

      The first file has this reference to a javascript file which looks like it could have something to do with modifying the look of the headers. The second link doesn't have it. Might be worth looking into.
      HTML Code:
      <script type="text/javascript">
          Cufon.replace('h1');
          Cufon.replace('h2');
      </script>
      Wow I'm an idiot...I didnt even copy and paste properly!

      That fixed it...simple and easy! Thank you!
      {{ DiscussionBoard.errors[1294027].message }}

Trending Topics