473,799 Members | 2,941 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3875
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_mimetyp e 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.comwri tes:
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('Conten t-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.comwri tes:
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

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

Similar topics

10
26876
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
43637
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 "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <html> <head>
22
2475
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 crush the left table (ingnoring that there is no breakable spaces). I tried using nowrap already and IE still forces a wrap of the text in the menu... thats why I tried using non-breaking spaces instead of normal ones... so there was nowhere to...
9
35234
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: http://users.pandora.be/rausbauten/menu/static/start.html only there, a table is used to achieve this result. So using 4 div blocks and by setting 2 of them to float left, I already got this result: http://home.scarlet.be/~vv991306/test.html Now I have to set the widths en heigths of...
82
6358
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 of getting wrong it seems I am on very shaky ground . For example, pretty much every book and web course on html that I have read tells me I must include <html>, <head> and <body> tag pairs. I have always done that, and never questioned it. ...
12
3410
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, etc.). Pretty much all of the functionality is working except a feature that shows in which line of the HTML source a violation of the user-set rule occurs (e.g., where a LABEL element doesn't have a FOR attribute). There doesn't seem to be a...
8
5974
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 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.
3
6471
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, EFTidyLib (from sourceforge), and TidyATL COM wrapper, Chilkat HTML 2 XML.
7
2477
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 == HTMLElementSelect) // doesn't work, Firefox complain no such property if variable is undefined if (typeof variable == "object" && variable.constructor == HTMLElementSelect) // doesn't work, IE complain object do not have this property "constructor"
0
9540
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10475
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10222
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9068
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7564
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6805
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4139
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3757
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.