Website doesn't display in FireFox (Full Version)

All Forums >> [Web Development] >> Expression Web Help



Message


doctorjellybean -> Website doesn't display in FireFox (7/21/2007 7:32:18)

Originally my website was hosted on a Windows server, and it displayed without any problems in FireFox as well as Internet Explorer. Now I have moved to a Linux server, as it will enable me to use CGI scripts, etc.

It displays in Internet Explorer, but not in FireFox. Is there anything I need to take into consideration when publishing the site on a Linux server? I use EW own ftp module. Please feel free to have a look:

Peggy's Props

Update: I just did a test with a different page from my site, and that displays (albeit with a strange symbol in the top left corner) in FireFox

Single page

So it seems the index page (a frame page) doesn't display in FireFox, only that symbol.




caz -> RE: Website doesn't display in FireFox (7/21/2007 8:32:39)

The single page does not validate because it has the wrong doctype, which is why Firefox cannot display it properly,

quote:

<!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" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">



To find the correct Doctype ( frameset) - http://www.w3schools.com/tags/tag_doctype.asp

In addition the second line seems to indicate that some Office coding is there too, probably Word? It's better to run Word copy through Notepad before adding it to web pages. This gets rid of the odd formatting in Word documents which causes trouble in web pages.

I have no idea what the symbols are, maybe something to do with the Linux server?




doctorjellybean -> RE: Website doesn't display in FireFox (7/21/2007 8:39:06)

All the pages were created with Expression Web and then published from EW. I stay away from Word, etc, when creating webpages.

quote:

ORIGINAL: caz

In addition the second line seems to indicate that some Office coding is there too, probably Word? It's better to run Word copy through Notepad before adding it to web pages. This gets rid of the odd formatting in Word documents which causes trouble in web pages.





obialor -> RE: Website doesn't display in FireFox (7/21/2007 9:21:39)

Dear Peggy:

I am not an expert in EW/Linux interface but I have read your story. It is compelling. I wish you God's guidance and complete healing and quick recovery as you go on with your worthwhile campaign. I live in Houston, Texas. It has a renowned world-class medical center, specializing in breast cancer among other cancer forms.

I hope you find solution to your EW problem on this forum.

Obi




caz -> RE: Website doesn't display in FireFox (7/21/2007 9:23:00)

This is what I was referring to:-
quote:

xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office


As I have not used EW yet it's best to wait until someone who has comes along. [:)]




jurgen -> RE: Website doesn't display in FireFox (7/21/2007 11:58:56)

Your index page has quite a few tags missing or not in the right place. And as Caz mentioned your DOCTYPE is not correct for the frameset.
Try this code and it should work:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>


<frameset rows="170,*" cols="*" frameborder="no" border="0" framespacing="0">
  <frame src="logos.htm" name="topFrame" frameborder="0" scrolling="no" noresize title="topFrame" >
  <frameset cols="120,*" frameborder="NO" border="0" framespacing="0">
    <frame src="links.htm" name="leftFrame" scrolling="auto" noresize title="leftFrame">
    <frame src="intro.htm" name="mainFrame" scrolling="auto" title="mainFrame">
  </frameset>
</frameset>


<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</html>




doctorjellybean -> RE: Website doesn't display in FireFox (7/21/2007 12:36:16)

Many thanks guys!

It appeared that there were 2 problems:

1) The wrong DOCTYPE, hence the frames page not showing
2) The wrong charset; charset=iso-8859-1 instead of charset=utf-8 which explains the funny looking symbol.

All done [:D]




tinkerbell -> RE: Website doesn't display in FireFox (8/30/2007 21:27:26)

I'm having the same problem. My site isn't displaying the same in Firefox & Netscape like it is in IE. I've tried changing the Doc Type and that didn't seem to help. Here's my site:

www.onlinecasinoet.com

Any ideas? I would appreciate all thoughts on how to fix this. I'm hoping there is an easy fix so I don't have to rebuild it.

Thanks!




treetopsranch -> RE: Website doesn't display in FireFox (8/30/2007 23:59:24)

Your site appears to be a gambling site.

Some states have specific laws against online gambling of any kind.




Tailslide -> RE: Website doesn't display in FireFox (8/31/2007 2:38:43)


quote:

ORIGINAL: tinkerbell

I'm having the same problem. My site isn't displaying the same in Firefox & Netscape like it is in IE.


It's not just FF and Netscape I'm afraid - it's looking a bit wonky in IE7 too (I'll assume that you've tested in IE6 as it looks ok in that).

I'm also slightly confused by why you've got "rel="nofollow"" attached to links to pages on your own site... that's to stop search engines following links - surely on your own site you want them to follow the links?

Can't tell you too much about why it's all going wrong in FF, there's a whole load of markup and styles in there adding to the general confusion (not your fault - it's the nature of WYSIWYG editors).

To stand any chance at getting it to look reasonable cross-browser I think you'll need to remove some of the extra junk that EW has put in and simplify the whole thing. For an example of what I mean:

----------------------------------------------------------------------------------------------------------------<br>
<br></span></span></span></span></span> <span id="lblcontent"><span class="maincopyleadless"><span class="style19"><span class="style12"><strong><a target="_blank" href="http://www.yoursite.com/product/superslots.html" class="o7" rel="nofollow">SuperSlots Casino</a>                                      Rating: 4.7/5</strong></span></span><span class="style21"><strong><span class="style12"><br>

<br></span> <span class="style19"><br></span></strong> <span class="style19"><span class="style18">your text here</span><br class="style18">
<br>
<span class="style18">Your text here</span></span></span></span></span><span class="style20"><br>


That's a pretty shocking amount of unecessary markup that EW has stuffed in there. The styles need to be simplified so that you don't have to have 15 different classes applied to spans and having the dashes as seperators isn't a good idea as it looks bad at larger text sizes (it wraps).

Should be something more like (tables aside):

<div class="yourdivname">
  <p><a href="yourlinkhere.com" class="makeitbigandred">Superslots Casino</a> <span class="rating">Rating: 4.7/5</span></p>
  <p>Your text goes here</p>
</div>  


Several points - much less "stuff" going on to conflict with itself. The class names mean something (rating for instance) not just c12 etc - I'd have no idea what that meant without looking it up - way too hard to keep track of.




Nicole -> RE: Website doesn't display in FireFox (8/31/2007 7:22:10)

Somehow I don't think that the fact that online casinos aren't allowed in some states of the USA are the problem here. Nor do I think that any evangelical blessing is going to solve your problems Anton. I'd stick to Caz & Tailslide's solutions in this regard.

At the risk of being tainted as a "Gambling Atheist" I must say that I've enjoyed very much reading this thread! [sm=rofl6.gif]




Mike54 -> RE: Website doesn't display in FireFox (8/31/2007 8:26:10)

quote:

In addition the second line seems to indicate that some Office coding is there too, probably Word?

EW has a bad habit of adding this little bit...

quote:

xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">


the first time text is pasted into a page. If however you undo the paste the added text is removed and you can re paste without the text being added again.[sm=ask.gif]
I've no idea why this happens, if it's due to some setting I haven't found yet or if it's just a quirk in EW.[&o]




tinkerbell -> RE: Website doesn't display in FireFox (8/31/2007 12:58:29)

Thanks for the help & info. I'm not sure why EW added a new style to every text area. That is a lot of extra junk. I'm not sure if it's even worth the time trying to fix it. Maybe I'll just try rebuilding it with Dreamweaver or another program. Seems like EW might be the issue. [:-]

Gambling my be outlawed in some states or counties but my site does not offer any real gambling or casino games.




caz -> RE: Website doesn't display in FireFox (8/31/2007 13:37:35)

Are you working with a template, clicking and dragging to alter the design? That's the only reason I can think of for all that extra in line mark up.




tinkerbell -> RE: Website doesn't display in FireFox (8/31/2007 14:49:04)

Yes, I'm using a template but not absolute positioning (just tables). It would show up totally messed up with absolute positioning.

I guess I've messed with it so much now it's not even showing up right in IE. LOL What a waste of a day that was. But I probably won't be using EW to redo it. To much added junk.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875