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

Reply
 
LinkBack Thread Tools
Old 09-10-2008, 12:47 AM   #1
Warrior Member
 
Join Date: Sep 2008
Location: Pensacola, FL
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Arrow Site loads source code in Firefox, ok in IE

What have I done wrong? If you type in my url or click link to my site in Firefox, the site loads my source code. Seems to work on Internet Explorer.
Recession Proof Your Income

Please help.

Richard
dickie0228
dickie0228 is offline   Reply With Quote
Old 09-10-2008, 02:57 AM   #2
Active Warrior
War Room Member
 
Join Date: May 2008
Location: , , .
Posts: 33
Thanks: 8
Thanked 0 Times in 0 Posts
Default Re: Site loads source code in Firefox, ok in IE

I'll take a look, but one quick tip I found when working with FF. Keep an eye out for double dashes "--" within comment blocks, etc. Even "- -" (with spaces) caused an issue in FF. IE tries to take care of you and keep things from blowing, so -- in comments isn't a problem. In FF, putting --, even within a comment block, caused the rest of the code to puke and show on the screen. Again, I haven't at this yet, but maybe this has something to do with your issue of FF.
RonRea is offline   Reply With Quote
Old 09-10-2008, 05:20 AM   #3
Active Warrior
 
Join Date: Jan 2008
Location: Wales
Posts: 80
Thanks: 7
Thanked 5 Times in 5 Posts
Default Re: Site loads source code in Firefox, ok in IE

Looks like your doctype is wrong. It probably becuase you are using html and you are self closing this line:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

Just take the forward slash at the end off.

If you have any more trouble i would just run the page through validator.w3.org as you quite a few other errors on that page.

wardo is offline   Reply With Quote
Old 09-10-2008, 05:59 AM   #4
Active Warrior
 
Billy Deakin's Avatar
 
Join Date: Dec 2007
Location: UK
Posts: 51
Thanks: 0
Thanked 2 Times in 2 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to Billy Deakin
Default Re: Site loads source code in Firefox, ok in IE

That foward slash shouldn't break the page...

What file extention are you using? The URL is Recession Proof Your Income which would default to index.html or index.htm by default (or .php etc.) but I can't find them?

It's possible that the browser isn't rendering the page because it thinks it is plain text - make sure that the file extension matches those which your server is set up to serve (if in doubt trl .html first)

Bill

Flash Games Classroom - Flash games tutorials and articles
Cornish Web Designs
Best Poker Sites
Billy Deakin is offline   Reply With Quote
Old 09-10-2008, 11:59 AM   #5
www.eCoverNinja.com
War Room Member
 
KarlWarren's Avatar
 
Join Date: Nov 2006
Location: United Kingdom.
Posts: 5,988
Blog Entries: 1
Thanks: 186
Thanked 470 Times in 206 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to KarlWarren
Default Re: Site loads source code in Firefox, ok in IE

Billy,

I think you're right... the file itself doesn't seem to have an extension.

To check this theory add a / after the url - I thought it might have been an index file within a directory, but it doesn't seem to be.

Dickie, if you add .htm as the extension using your ftp program it should work in all browsers.

Kindest regards,
Karl.

Amazon, ClickBank & Adsense Earnings
Profit-Ready Niche Blogs

>> Check It Out NOW!<<


$20 Off With Coupon: WSO
KarlWarren is offline   Reply With Quote
Old 09-10-2008, 12:48 PM   #6
Nate
 
ncovill's Avatar
 
Join Date: Sep 2006
Location: Massachusetts
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Contact Info
Send a message via AIM to ncovill Send a message via Skype™ to ncovill
Default Re: Site loads source code in Firefox, ok in IE

<style type="text/css"><!--
.headline {
font-family: Tahoma, Verdana;
font-size: 16pt;
font-weight: bold;
}
--></style>

the comments you used here in the stylesheet I believe is your problem. Commenting things out in a stylesheet is different than HTML (you use /*font-weight: bold;*/ instead of the standard <!-- comments)

ncovill is offline   Reply With Quote
Old 09-10-2008, 12:53 PM   #7
Nate
 
ncovill's Avatar
 
Join Date: Sep 2006
Location: Massachusetts
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Contact Info
Send a message via AIM to ncovill Send a message via Skype™ to ncovill
Default Re: Site loads source code in Firefox, ok in IE

I just found out something very strange. I use Firebug to debug in FF and such, and what this is showing is there is an <html></head><body> BEFORE your actual code, lol.. very strange. So what it's doing is it's putting ALL of your code inside of your body.

I would still try to take out the commented out styles first.

ncovill is offline   Reply With Quote
Old 09-11-2008, 06:52 AM   #8
Warrior Member
 
Join Date: Sep 2008
Location: Pensacola, FL
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Site loads source code in Firefox, ok in IE

Thank you to all replies. I will try them and let you know.
dickie0228 is offline   Reply With Quote
Old 09-17-2008, 10:51 PM   #9
Warrior Member
 
Join Date: Sep 2008
Location: Pensacola, FL
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Site loads source code in Firefox, ok in IE

Thanks all! Turns out it was not uploaded in html, so Firefox did not recognize. It has been repaired.
Check it out: Recession Proof Your Income
dickie0228 is offline   Reply With Quote
Reply

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

Tags
code, firefox, loads, site, source

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.