Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 10-17-2009, 12:41 PM   #1
Offline Consultant
War Room Member
 
Dexx's Avatar
 
Join Date: Jul 2007
Location: Alberta, Canada
Posts: 1,859
Thanks: 578
Thanked 572 Times in 307 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Default CSS works fine in HTML, Broken in PHP? Help!

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!

Dexx is online now   Reply With Quote
Old 10-17-2009, 04:17 PM   #2
Advanced Warrior
War Room Member
 
Join Date: Feb 2008
Location: Escondido, CA. Becase San Marcos just wasn't hot enough.
Posts: 510
Thanks: 35
Thanked 56 Times in 55 Posts
Default Re: CSS works fine in HTML, Broken in PHP? Help!

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.
Aronya is offline   Reply With Quote
Old 10-17-2009, 09:24 PM   #3
Personal hygiene coach
 
mojojuju's Avatar
 
Join Date: Aug 2005
Location: Potemkin Village
Posts: 1,080
Thanks: 268
Thanked 375 Times in 252 Posts
Social Networking View Member's Twitter Profile 
Default Re: CSS works fine in HTML, Broken in PHP? Help!

Quote:
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>
mojojuju is offline   Reply With Quote
Old 10-19-2009, 12:08 AM   #4
Offline Consultant
War Room Member
 
Dexx's Avatar
 
Join Date: Jul 2007
Location: Alberta, Canada
Posts: 1,859
Thanks: 578
Thanked 572 Times in 307 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Default Re: CSS works fine in HTML, Broken in PHP? Help!

Quote:
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!

Dexx is online now   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design

Tags
broken, css, fine, html, php, works

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 10:32 AM.