War Room

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

Featured Warrior Special Offer...
"Members Of The *War Room* Discover Secrets To Immediate Success!"
Reply
 
LinkBack Thread Tools
Old 10-17-2009, 12:41 PM   #1
Web 2 Guru
War Room Member
 
Dexx's Avatar
 
Join Date: Jul 2007
Location: Canada
Posts: 549
Thanks: 24
Thanked 25 Times in 13 Posts
Social Networking 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 offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-17-2009, 04:17 PM   #2
HyperActive Warrior
War Room Member
 
Join Date: Feb 2008
Location: Escondido, CA
Posts: 363
Thanks: 16
Thanked 38 Times in 38 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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-17-2009, 09:24 PM   #3
Large omnivorous mammal
 
mojojuju's Avatar
 
Join Date: Aug 2005
Location: Potemkin Village
Posts: 178
Thanks: 5
Thanked 17 Times in 12 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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to mojojuju For This Useful Post:
Old 10-19-2009, 12:08 AM   #4
Web 2 Guru
War Room Member
 
Dexx's Avatar
 
Join Date: Jul 2007
Location: Canada
Posts: 549
Thanks: 24
Thanked 25 Times in 13 Posts
Social Networking 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 offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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 04:36 AM.