Forum Moderators: not2easy

Message Too Old, No Replies

CSS is applied in IE but not in FF - HELP!?!

A site Im working on is fine in IE but not FF

         

GeddyLeeRocks

2:58 pm on Sep 19, 2007 (gmt 0)

10+ Year Member



Hello

I am working on a site - and all of a sudden the CSS isnt working for FireFox but is ok in IE - what did I do?

Here is the site

HELP!?!?!

<snip>

Thanks
R

[edited by: engine at 4:34 pm (utc) on Sep. 19, 2007]
[edit reason] No urls, thanks. See TOS [webmasterworld.com] [/edit]

maxximus

4:06 pm on Sep 19, 2007 (gmt 0)

10+ Year Member



Your HTML doesn't validate. Main reason for your css failing is that the LINK tag does not need a closing tag so drop the last </link>

<link rel="stylesheet" type="text/css" href="http://www.joinrec.com/css/style/index.css" media="screen" /></link>

Its not an XML file so why have you got an XML designation at the top?

Marshall

4:15 pm on Sep 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



GeddyLeeRocks,

Looking at the site in FF and using their Fire Bug reporting plug in, it states you have 6 errors on the page including two illegal characters in separate JS files: menu.js and headerimages.js. If you do not ahve the fire bug plug in, I suggest you install it.

After a *really quick* look at your style sheet itself, I did not see any errors.

Looking at your page source, your doctype should be first.

Did you validate your page? HTML [validator.w3.org] (it showed 18 errors), CSS [jigsaw.w3.org]

Marshall

GeddyLeeRocks

4:34 pm on Sep 19, 2007 (gmt 0)

10+ Year Member



Marshall
Thank you for your reply..
I installed the Fire Bug add on - and all the scripts I check etc .. have Chinese characters am I supposed to see something there? not sure what it is supposed to tell me.. is it specific about he illegal charachters in my JS?

Marshall

4:41 pm on Sep 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I did not understand why the Chinese characters. All I can suggest is remove all the scripts then try your page. Seems like this can only be solved through a process of elimination. I did notice, however, that IE did not indicate a script error and, as I said, I did not see anything wrong in the CSS. The only thing the CSS validator reported, aside from some warnings, was that is was unable to locate the print.css file.

The other thing I can suggest is run your scripts by some of the guru's is the JS forum. I am far from a JS expect and only know the basics.

Marshall

GeddyLeeRocks

5:06 pm on Sep 19, 2007 (gmt 0)

10+ Year Member



Thanks to all of you
Marshall- it is working in FF and Ill validate later - the chinese characters even appeared on the live page - the whole page for a sec. But I got it going thanks a ton!