473,378 Members | 1,527 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

HTML doesn't work for FIREFOX

I don't what is wrong my site but some of my members cant view it on
firefox. I been browsing the net for answer but i havent find the
solution. Some said add
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"which
was already there when i first started. Everything is find on internet
explorer.
Can someone help me?
My site is http://symbolsclan.co.nr/
I use micosoft frontpage to edit and create my website.
thks in advance.

sry if i posted in the wrong section

Jan 6 '07 #1
12 3843
vi********@msn.com wrote:
I don't what is wrong my site but some of my members cant view it on
firefox. I been browsing the net for answer but i havent find the
solution. Some said add
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"which
was already there when i first started. Everything is find on
internet explorer.
Actually, for new documents, you should use the Strict doctype. You're
not Transitioning from anything, are you? You also have an incomplete
doctype.
See: http://www.w3.org/QA/2002/04/valid-dtd-list.html

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

The fact that IE actually works proves that IE is not following
standards, and is second-guessing what it thinks you want to see, rather
than what your web server is sending.

You've assigned no background colors in the frames.
Can someone help me?
My site is http://symbolsclan.co.nr/
It appears you are trying to serve PHP pages in your framesets.
Ex: http://home.comcast.net/~symbolsclan/news.php

I doubt if comcast.net has the capabilities of serving PHP. Most ISP
personal web spaces do not. If you change all the file extensions and
links to them, to .html it might work.
I use micosoft frontpage to edit and create my website.
Aha. Well, that says a lot. :-)

--
-bts
-Motorcycles defy gravity; cars just suck
Jan 6 '07 #2
vi********@msn.com writes:
I don't what is wrong my site but some of my members cant view it on
firefox. I been browsing the net for answer but i havent find the
solution. Some said add
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"which
was already there when i first started. Everything is find on internet
explorer.
Table-based layout inside frames -- how very last century! I came
over all nostalgic looking at it. Seriously, though, you should
consider an update to 21C methods (HTML 4.01 + CSS).
Can someone help me?
My site is http://symbolsclan.co.nr/
I presume that for you the big issue is that the content
(e.g. news.php) is showing up in the frame as text and not being
rendered as HTML? This is because your web server is replying that
the page is "text/plain" as it is likely to do since .php is not a
normal extension for HTML files.

Another possibility is that the news page is written in PHP and it is
generating an incorrect HTTP header.

If the page is written in PHP, post to a PHP news group to find out
how to send the right HTTP header. If the page is not in PHP, then
simply renaming it news.html (and changing the link to it, of course)
may well cause your server to serve it as "text/html".

--
Ben.
Jan 6 '07 #3
Rik
Ben Bacarisse wrote:
>Can someone help me?
My site is http://symbolsclan.co.nr/

I presume that for you the big issue is that the content
(e.g. news.php) is showing up in the frame as text and not being
rendered as HTML? This is because your web server is replying that
the page is "text/plain" as it is likely to do since .php is not a
normal extension for HTML files.
Check:
Another possibility is that the news page is written in PHP and it is
generating an incorrect HTTP header.

If the page is written in PHP, post to a PHP news group to find out
how to send the right HTTP header. If the page is not in PHP, then
simply renaming it news.html (and changing the link to it, of course)
may well cause your server to serve it as "text/html".
--
Rik Wasmus
Jan 6 '07 #4
Rik
Rik wrote:
<nothing much>
Oop, there went something wrong, now my real reply :-)
Ben Bacarisse wrote:
>>Can someone help me?
My site is http://symbolsclan.co.nr/

I presume that for you the big issue is that the content
(e.g. news.php) is showing up in the frame as text and not being
rendered as HTML? This is because your web server is replying that
the page is "text/plain" as it is likely to do since .php is not a
normal extension for HTML files.

Check:
HTTP/1.x 200 OK
Server: Netscape-Enterprise/4.1
Date: Sat, 06 Jan 2007 19:47:07 GMT
Content-Type: text/plain
Etag: "b192920d-5-849-459f64e9"
Last-Modified: Sat, 06 Jan 2007 08:59:21 GMT
Content-Length: 2121
Accept-Ranges: bytes
> Another possibility is that the news page is written in PHP and it
is generating an incorrect HTTP header.

If the page is written in PHP, post to a PHP news group to find out
how to send the right HTTP header. If the page is not in PHP, then
simply renaming it news.html (and changing the link to it, of course)
may well cause your server to serve it as "text/html".
Either in the PHP:
header('Content-Type: text/html');
(Before any other output)

Or set up PHP to server to serve text/html automatically unless otherwise
specified in the file itself (which is the default setting BTW):
default_mimetype can be altered in php.ini, httpd.conf, .htaccess or even
the script itself.
--
Rik Wasmus
Jan 6 '07 #5
Beauregard T. Shagnasty wrote:
vi********@msn.com wrote:
>>I don't what is wrong
Rather a lot, IMHO. (Frames, splash page, micro- and picofonts [not
resizable], modified status bar, graphic-dependent navigation with no
alt or title tags, hit counter, obscure scrollbar coloring, hit
counter,... All that's missing is an animated globe. Paging Vincent
Flanders...)
>my site but some of my members cant view it on
firefox. I been browsing the net for answer but i havent find the
solution. Some said add
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"which
was already there when i first started. Everything is find on
internet explorer.


Actually, for new documents, you should use the Strict doctype. You're
not Transitioning from anything, are you? You also have an incomplete
doctype.
See: http://www.w3.org/QA/2002/04/valid-dtd-list.html

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
Well, if she's really going to use frames I think she needs something like:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">

Of course, whether to *use* frames is a different question...

--
John
Jan 6 '07 #6
"Rik" <lu************@hotmail.comwrites:
Rik wrote:
><nothing much>
Oop, there went something wrong, now my real reply :-)
>Ben Bacarisse wrote:
>>>Can someone help me?
My site is http://symbolsclan.co.nr/

I presume that for you the big issue is that the content
(e.g. news.php) is showing up in the frame as text and not being
rendered as HTML? This is because your web server is replying that
the page is "text/plain" as it is likely to do since .php is not a
normal extension for HTML files.

Check:

HTTP/1.x 200 OK
Server: Netscape-Enterprise/4.1
Date: Sat, 06 Jan 2007 19:47:07 GMT
Content-Type: text/plain
Etag: "b192920d-5-849-459f64e9"
Last-Modified: Sat, 06 Jan 2007 08:59:21 GMT
Content-Length: 2121
Accept-Ranges: bytes
I am not sure why you are telling me this. This is what I checked
before posting my reply, but thanks for confirming what I wrote.
>> Another possibility is that the news page is written in PHP and it
is generating an incorrect HTTP header.

If the page is written in PHP, post to a PHP news group to find out
how to send the right HTTP header. If the page is not in PHP, then
simply renaming it news.html (and changing the link to it, of course)
may well cause your server to serve it as "text/html".

Either in the PHP:
header('Content-Type: text/html');
(Before any other output)
Again, I am not sure why you are telling me this. Would it not be
more help directed at the OP?

I did not post this solution because:

(a) I seriously doubt the page is being PHP processed at all since if
it were it would most likely have the right type.

(b) This group is for HTML issues and if his problem *is* PHP related
he will get better help in a PHP group.

--
Ben.
Jan 6 '07 #7
Rik
Ben Bacarisse wrote:
I am not sure why you are telling me this. This is what I checked
before posting my reply, but thanks for confirming what I wrote.
Well, not especially you, it's an answer in a thread. I found the
answer,wanted to post it but checked answers just in case, and saw you
already answered the main issue. I justed wanted the rest of the story
about PHP below out, and replying to your posting containing the imo
correct answer why it does not work seems better then replying to the
original poster then strarting a new thread to the original poster. Just my
way of doing things, I usually do not respond directly to people per se, I
respond to a discussion. If I wanted to respond to people I'd email them
obviously. It's a matter of personal taste though.
>>> Another possibility is that the news page is written in PHP and it
is generating an incorrect HTTP header.

If the page is written in PHP, post to a PHP news group to find out
how to send the right HTTP header. If the page is not in PHP, then
simply renaming it news.html (and changing the link to it, of
course) may well cause your server to serve it as "text/html".

Either in the PHP:
header('Content-Type: text/html');
(Before any other output)

Again, I am not sure why you are telling me this. Would it not be
more help directed at the OP?
I assume the OP sees this thread, see the story above.
I did not post this solution because:

(a) I seriously doubt the page is being PHP processed at all since if
it were it would most likely have the right type.

(b) This group is for HTML issues and if his problem *is* PHP related
he will get better help in a PHP group.
Well, not getting the right content header has sideways to do with html
offcourse,m but not really authoring, so I see your point.

However, with these kind of small problems/easy solutions, I do think it's
kind of better to just post the solution right away. Telling the OP to post
to another group, wait for it, and then post the solution you knew all
along to him seems a bit over the top. I'm all for staying on topic, but
that's going somewhat to far.

If it was a lengthier problem, or possibly open for discussion, even then
I'd have answered him here, only including a PHP ng with the right
follow-up header.
--
Rik Wasmus
Jan 7 '07 #8
"Rik" <lu************@hotmail.comwrites:
Ben Bacarisse wrote:
>I am not sure why you are telling me this. This is what I checked
before posting my reply, but thanks for confirming what I wrote.

Well, not especially you, it's an answer in a thread.
OK, but I find it makes more sense if the thread reads like a
conversation. I would want to talk to original poster, but I don't
want to make a big deal out it.

<snip>
>I did not post this solution because:

(a) I seriously doubt the page is being PHP processed at all since if
it were it would most likely have the right type.

(b) This group is for HTML issues and if his problem *is* PHP related
he will get better help in a PHP group.

Well, not getting the right content header has sideways to do with html
offcourse,m but not really authoring, so I see your point.
That was not my point. It is PHP configuration that is off-topic
here, not content types.
However, with these kind of small problems/easy solutions, I do think it's
kind of better to just post the solution right away.
I agree, but you ignored (a) above. I don't think for a minute that
this is a simple PHP issue or I would have suggested, explicitly, the
quick fix you did (along with a suggested redirect to a PHP group).

You own post explains why a PHP group would be better: if the file
*is* a PHP source file, then the set-up is broken -- either that or
the author has deliberately output the wrong header. Fixing PHP
configs should not be done here.

It is very unlikely that the correct solution is to put a PHP header
call in the file, but I have been wrong before with such guesses and
this may be another case! Only the OP can tell us...

--
Ben.
Jan 7 '07 #9
John Hosking wrote:
Beauregard T. Shagnasty wrote:
>vi********@msn.com wrote:
>>my site but some of my members cant view it on
firefox. I been browsing the net for answer but i havent find the
solution. Some said add
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"which
was already there when i first started. Everything is find on
internet explorer.

Actually, for new documents, you should use the Strict doctype. You're
not Transitioning from anything, are you? You also have an incomplete
doctype.
See: http://www.w3.org/QA/2002/04/valid-dtd-list.html

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

Well, if she's really going to use frames I think she needs something like:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">

Of course, whether to *use* frames is a different question...
Yes, true for the frameset page. S'far as I remember, the individual
pages used _in_ the frameset should have a conventional doctype (though
it has been years since I use a frame(set).

I guess I was thinking ahead, hoping the OP would drop the frames
altogether. There is a lot of other stuff going on with this site that I
would want to change, in addition to the frames which aren't necessary.
There's .. um .. one-cell tables for layout, no <hxelements, lots
more. <g http://home.comcast.net/~symbolsclan/history.php

--
-bts
-Motorcycles defy gravity; cars just suck
Jan 7 '07 #10
vi********@msn.com wrote:
My site is http://symbolsclan.co.nr/
Another question, not related to your design issues: I am curious as to
why you use a domain name with the country code for Nauru Island, rather
than a conventional US-type, such as .com or .net? You are posting from
the US broadband service of Comcast, and using their personal web
spaces. http://home.comcast.net/~symbolsclan/

Using the stealth masking only makes it difficult for visitors to
bookmark pages, and probably confuses the googlebot.

--
-bts
-Motorcycles defy gravity; cars just suck
Jan 7 '07 #11
Dan
Beauregard T. Shagnasty wrote:
vi********@msn.com wrote:
My site is http://symbolsclan.co.nr/

Another question, not related to your design issues: I am curious as to
why you use a domain name with the country code for Nauru Island, rather
than a conventional US-type, such as .com or .net?
Actually, .us is the top level domain for the U.S., though it's not
very heavily used. .com and .net are international gTLDs.

--
Dan

Jan 8 '07 #12
Ben Bacarisse wrote:
Again, I am not sure why you are telling me this. Would it not be
more help directed at the OP?
He's not telling you that. He's telling the whole world (this is a public
newsgroup). He is following up your post (rather than following up the
original post) because he's expanding upon the information in your post.
Makes perfect sense to me.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

Jan 11 '07 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: john T | last post by:
Is there anyway to vertically center a html table using css in such a way it does not alter the html table. When I tryied it just screws up.
25
by: Steal | last post by:
Hi at all I try to validate this page using the link: http://validator.w3.org/ but it return that this is not a valid HTML 4.01 page please where is it error? Steil <!DOCTYPE HTML PUBLIC...
22
by: Trammel | last post by:
Hi, I am here to request support from anyone that has idea's on cross-browser HTML (Mainly Firefox and IE). My personal website http://trammel.no-ip.info works fine on Firefox but IE decides to...
9
by: Veerle | last post by:
Hi, I would like to divide the whole of my html page in 4 equal rectangles using only div tags in my html. The result should look a bit like this site:...
82
by: Eric Lindsay | last post by:
I have been trying to get a better understanding of simple HTML, but I am finding conflicting information is very common. Not only that, even in what seemed elementary and without any possibility...
12
by: e271828 | last post by:
Hi, I'm helping to work a developer tool that verifies a given HTML element has a given attribute (e.g., that all LABEL elements have a FOR attribute, all INPUT elements have an ID attribute,...
8
by: vietgurlqt | last post by:
I don't what is wrong my site but some of my members cant view it on firefox. I been browsing the net for answer but i havent find the solution. Some said add <!DOCTYPE HTML PUBLIC "-//W3C//DTD...
3
by: paul.rusu | last post by:
Hi, I am having the html tidy in c# issue. I parse a lot of html pages with sports data. For this I need them converted in xml. I am using html tidy libraries: zetaHtmlTidy from codeproject,...
7
by: Zhang Weiwu | last post by:
Dear all How does javascript realiablily tell if a variable is a reference to an HTML Element "<select>", without causing browser to pop up error message? if (variable.constructor ==...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.