Topic: Firefox problems..and a few other things..

Hi,

Been reading the board for a few days now, to see how this community was active and useful. So I joined smile

Now, lets talk business smile


1st

Want to start by telling you you did a good job. Good script. I tried several, trust me smile

2nd

Can you tell me why I see this in Firefox ( latest version)

http://www.mavmedia.net/temp/punbbfirefox.jpg


And I see it perfect in IE ( latest version )

http://www.mavmedia.net/temp/punbbexplorer.jpg

That would be helpful, im sure its something stupid smile


Thx

Re: Firefox problems..and a few other things..

Probably because you have an error somewhere that's blocking your layout to be fully loaded wink Scan the page for errors or validate your CSS if you changed anything.

Re: Firefox problems..and a few other things..

Try pressing refresh might just be cached funky wink

Re: Firefox problems..and a few other things..

Well,

I tried several theme, just to make sure...

Still not working...

Any of you guys use Firefox? So i can figure if its just ME or Firefox...

Btw

Did the reload thing very OFTEN tongue 

I know that awesome function tongue ( use it myself often when I do tech support )


Thx

Fremen

Re: Firefox problems..and a few other things..

The url:


http://www.mavmedia.net/punbb/

Re: Firefox problems..and a few other things..

I'm on firefox. Could you give me a link to your forums?

7

Re: Firefox problems..and a few other things..

Strange. Its not working for me either. It does work perfectly in all versions of IE, Opera 8.5 and Opera 9. Doesn't work in Mozilla 1.7 or Firefox.

Re: Firefox problems..and a few other things..

elbekko

the url is: http://www.mavmedia.net/punbb/

Re: Firefox problems..and a few other things..

Guess it wasnt just me then.....


Any suggestions? ( details please )

10

Re: Firefox problems..and a few other things..

Have you tried changing to a different style to check if there is a problem with the Radium stylesheets or something else going on.

Personally I think base.css has got mangled but I can't be sure.

11

Re: Firefox problems..and a few other things..

I kinda tried a few ones so far...

im atm, redoing a full install on a different folder

12

Re: Firefox problems..and a few other things..

OK, I just tried a new install, different folder......same thing

http://www.mavmedia.net/punbbforum/index.php

13

Re: Firefox problems..and a few other things..

I've got it. Your server is misconfigured. It is sending stylesheets as mime type text/plain. In standards compliance mode stylesheets must be served as text/css otherwise Firefox will just ignore them. The only reason other browsers are working is they are more tolerant. You need to get your hosting company to configure their servers properly. Failing that I think you can force the correct mime type with an .htaccess file using AddType text/css .css

In quirks mode Firefox will accept stylesheets served as text/plain or text/html so you could try removing the doctype declaration from main.tpl but it might have some unfortunate side effects on the style.

14

Re: Firefox problems..and a few other things..

Paul,

If it was my server, why would it work with IE, Opera, etc..but not with Firefox? Weird no...tolerant huh..

Anyway that I can fix it myself in an easy way?  thx for your help

Re: Firefox problems..and a few other things..

Fremen wrote:

If it was my server, why would it work with IE, Opera, etc..but not with Firefox?

Because, as he said, Firefox is in standards compliance mode, which means it only accepts properly served stylesheets, which your server doesn't give (which it should).

Fremen wrote:

Anyway that I can fix it myself in an easy way?  thx for your help

Looks back at Paul's post tongue

Paul wrote:

You need to get your hosting company to configure their servers properly. Failing that I think you can force the correct mime type with an .htaccess file using AddType text/css .css

16

Re: Firefox problems..and a few other things..

The reason is that Gecko browsers (Firefox, Mozilla, Netscape) are just more picky than the others when in standards mode. In quirks mode ie. with no Doctype they will accept any old mime type. Strictly speaking, Firefox in right and the others are wrong.

17

Re: Firefox problems..and a few other things..

I read his post,  if you read mine, I asked if there was a way I can fix it " myself " big_smile

About asking my host company, what should I ask exactly. You know how it is when you call them....

Thx

Re: Firefox problems..and a few other things..

Fremen wrote:

I read his post,  if you read mine, I asked if there was a way I can fix it " myself " big_smile

Failing that I think you can force the correct mime type with an .htaccess file using AddType text/css .css

19

Re: Firefox problems..and a few other things..

I would just email then pointing out that they are serving style sheets with the wrong mime type which causes them to fail in all Gecko based browsers when in standards compliant mode.

Maybe we should try a test to make sure that is the problem. If you remove the Doctype declaration from the start of main.tpl that should do it.

As for fixing it yourself the only solution I know is using the .htaccess file to set the mime type but I'm no expert on .htaccess.

NB: I read your post as "Anyway, that I can fix myself ..." Sorry for the confusion.

EDIT: Here you are, straight from the foxes/lizards mouth.

http://developer.mozilla.org/en/docs/In … _CSS_Files

20

Re: Firefox problems..and a few other things..

I tried to remove the Doctype, and nothing changed sad

Ill give a shot with my tech and see if they can fix it....if not....

/sad

21

Re: Firefox problems..and a few other things..

Will add the little code suggested on Mozilla website.  Will tell you if it works after smile

22 (edited by Paul 2006-03-02 03:51)

Re: Firefox problems..and a few other things..

I tested it after you removed the Doctype and it worked perfectly in Firefox, its still working now. I bet you didn't empty your cache did you. Rember Firefox has got a particularly sticky cache so just refreshing the page doesn't always work. That at least means the problem is confirmed.

23

Re: Firefox problems..and a few other things..

Well, I can now proudly say that its working big_smile

Problem fixed. Added the line of code on my server and its working like a charm.

For other members having the same problem, if you have access to your server ( like I do ), a few directives..

Go in:

/www/conf/mime.types


added the line text/css css


( grep css /www/conf/mime.types )

It will work for the whole server, not just one domain..

Voila smile

24

Re: Firefox problems..and a few other things..

Well, I noticed a few things before adding the line of code...

Like it was working on the 1st one, and not working on the 2nd one....

But anyway, THX all for your help, and hope that my lil contribution will help others

25

Re: Firefox problems..and a few other things..

Now you need to put the Doctype back into main.tpl just to make sure you've fixed it.