HighDots Forums  

Firefox

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Firefox in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Frances
 
Posts: n/a

Default Firefox - 01-23-2006 , 06:12 PM






I have an html file, checked css syntax online
(http://jigsaw.w3.org/css-validator/v...or-uri.html.en)

it all checks fine, got no errors or warnings.. however Firefox is not
reading stylesheet, for some reason.. two examples of errors I get in JS
console:

Error: Unexpected end of file while searching for
closing } of invalid rule set.

Error: Unexpected end of file while searching
for ',' or '{'. Ruleset ignored due to bad selector.

I click on error (which is a link to line in file causing error..)
and it just takes me to top of css file..

I have done css for Firefox many times, have never encountered this..
would appreciate some leads.. thank you very much..

Frances


Reply With Quote
  #2  
Old   
Mark Parnell
 
Posts: n/a

Default Re: Firefox - 01-23-2006 , 06:16 PM






Deciding to do something for the good of humanity, Frances
<fdr58 (AT) yahoo (DOT) com> declared in
comp.infosystems.www.authoring.stylesheets:

Quote:
I have done css for Firefox many times, have never encountered this..
would appreciate some leads..
A URL to the CSS file in question would make it much easier.

--
Mark Parnell
================================================== ===
Att. Google Groups users - this is your last warning:
http://www.safalra.com/special/googlegroupsreply/


Reply With Quote
  #3  
Old   
Frances
 
Posts: n/a

Default Re: Firefox - 01-24-2006 , 08:58 AM



Mark Parnell wrote:
Quote:
Deciding to do something for the good of humanity, Frances
fdr58 (AT) yahoo (DOT) com> declared in
comp.infosystems.www.authoring.stylesheets:


I have done css for Firefox many times, have never encountered this..
would appreciate some leads..


A URL to the CSS file in question would make it much easier.


thanks... http://www.francesdelrio.com/cc/viewer.css



Reply With Quote
  #4  
Old   
Els
 
Posts: n/a

Default Re: Firefox - 01-24-2006 , 09:11 AM



Frances wrote:

Quote:
Mark Parnell wrote:
Deciding to do something for the good of humanity, Frances
fdr58 (AT) yahoo (DOT) com> declared in
comp.infosystems.www.authoring.stylesheets:

I have done css for Firefox many times, have never encountered this..
would appreciate some leads..

A URL to the CSS file in question would make it much easier.


thanks... http://www.francesdelrio.com/cc/viewer.css
And what is the page that should use that stylesheet?
First I was guessing your main page, but that one doesn't even have a
reference to the stylesheet. Then I figured it would be about the page
http://www.francesdelrio.com/cc/, but that one is referencing a
different stylesheet. So.. which page is it that doesn't let Firefox
read the stylesheet?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Duran Duran - A View To A Kill


Reply With Quote
  #5  
Old   
Frances
 
Posts: n/a

Default Re: Firefox - 01-24-2006 , 10:14 AM



Els wrote:
Quote:
Frances wrote:


Mark Parnell wrote:

Deciding to do something for the good of humanity, Frances
fdr58 (AT) yahoo (DOT) com> declared in
comp.infosystems.www.authoring.stylesheets:


I have done css for Firefox many times, have never encountered this..
would appreciate some leads..

A URL to the CSS file in question would make it much easier.


thanks... http://www.francesdelrio.com/cc/viewer.css


And what is the page that should use that stylesheet?
First I was guessing your main page, but that one doesn't even have a
reference to the stylesheet. Then I figured it would be about the page
http://www.francesdelrio.com/cc/, but that one is referencing a
different stylesheet. So.. which page is it that doesn't let Firefox
read the stylesheet?

I can't post code for pg calling stylesheet (this is for work...
doesn't even go in path I posted earlier for stylesheet, I just
stylesheet there yesterday to check css-syntax on line at the w3c
site..), but call to stylesheet is as follows:

<LINK rel="stylesheet" type="text/css" href="viewer.css">
as you can see, nothing fancy, nothing unusual... thank you very much..

Frances





Reply With Quote
  #6  
Old   
VK
 
Posts: n/a

Default Re: Firefox - 01-24-2006 , 10:26 AM




Frances wrote:
Quote:
I have an html file, checked css syntax online
(http://jigsaw.w3.org/css-validator/v...or-uri.html.en)

it all checks fine, got no errors or warnings.. however Firefox is not
reading stylesheet, for some reason.. two examples of errors I get in JS
console:

Error: Unexpected end of file while searching for
closing } of invalid rule set.

Error: Unexpected end of file while searching
for ',' or '{'. Ruleset ignored due to bad selector.
You're getting the same error for http://www.google.com (check the
console) and this crap started with Firefox 1.5
Some browser bug no one managed to narrow down yet I guess. Seems not
directly related with CSS itself but with redirection/headers from the
server side.



Reply With Quote
  #7  
Old   
Ed Mullen
 
Posts: n/a

Default Re: Firefox - 01-24-2006 , 10:40 AM



Frances wrote:
Quote:
Els wrote:
Frances wrote:


Mark Parnell wrote:

Deciding to do something for the good of humanity, Frances
fdr58 (AT) yahoo (DOT) com> declared in
comp.infosystems.www.authoring.stylesheets:


I have done css for Firefox many times, have never encountered
this.. would appreciate some leads..

A URL to the CSS file in question would make it much easier.


thanks... http://www.francesdelrio.com/cc/viewer.css


And what is the page that should use that stylesheet?
First I was guessing your main page, but that one doesn't even have a
reference to the stylesheet. Then I figured it would be about the page
http://www.francesdelrio.com/cc/, but that one is referencing a
different stylesheet. So.. which page is it that doesn't let Firefox
read the stylesheet?


I can't post code for pg calling stylesheet (this is for work... doesn't
even go in path I posted earlier for stylesheet, I just stylesheet there
yesterday to check css-syntax on line at the w3c site..), but call to
stylesheet is as follows:

LINK rel="stylesheet" type="text/css" href="viewer.css"
as you can see, nothing fancy, nothing unusual... thank you very much..

Frances



Hard to tell without a look at the actual server environment you are
seeing the error on. But, I'd suspect that possibly the server is
sending the wrong MIME type for the style sheet OR, possibly, that the
relative link in the HTML reference is not resolving correctly. Try an
absolute link with the full URL to the style sheet.

--
Ed Mullen
http://edmullen.net
http://mozilla.edmullen.net
http://abington.edmullen.net


Reply With Quote
  #8  
Old   
Jim Moe
 
Posts: n/a

Default Re: Firefox - 01-24-2006 , 10:47 AM



Frances wrote:
Quote:
it all checks fine, got no errors or warnings.. however Firefox is not
reading stylesheet, for some reason.. two examples of errors I get in JS
console:

Error: Unexpected end of file while searching for
closing } of invalid rule set.

Error: Unexpected end of file while searching
for ',' or '{'. Ruleset ignored due to bad selector.

These are basic *Javascript* syntax errors, not CSS since they are in
the JS console. You have a missing closing brace ("}") somewhere in your
"Javascript* code.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


Reply With Quote
  #9  
Old   
Els
 
Posts: n/a

Default Re: Firefox - 01-24-2006 , 10:47 AM



Ed Mullen wrote:
Quote:
Frances wrote:
Els wrote:
Frances wrote:
Mark Parnell wrote:
Deciding to do something for the good of humanity, Frances
fdr58 (AT) yahoo (DOT) com> declared in
comp.infosystems.www.authoring.stylesheets:

I have done css for Firefox many times, have never encountered
this.. would appreciate some leads..

A URL to the CSS file in question would make it much easier.

thanks... http://www.francesdelrio.com/cc/viewer.css

And what is the page that should use that stylesheet?
First I was guessing your main page, but that one doesn't even have a
reference to the stylesheet. Then I figured it would be about the page
http://www.francesdelrio.com/cc/, but that one is referencing a
different stylesheet. So.. which page is it that doesn't let Firefox
read the stylesheet?

I can't post code for pg calling stylesheet (this is for work... doesn't
even go in path I posted earlier for stylesheet, I just stylesheet there
yesterday to check css-syntax on line at the w3c site..), but call to
stylesheet is as follows:

LINK rel="stylesheet" type="text/css" href="viewer.css"
as you can see, nothing fancy, nothing unusual... thank you very much..

Hard to tell without a look at the actual server environment you are
seeing the error on. But, I'd suspect that possibly the server is
sending the wrong MIME type for the style sheet OR, possibly, that the
relative link in the HTML reference is not resolving correctly. Try an
absolute link with the full URL to the style sheet.
No, the server is sending the correct MIME type.
My wild guess is, that there is a syntax error in the JavaScript on
the HTML page, and the stylesheet is referenced *after* that
JavaScript, and therefore isn't recognised.
Frances - try taking out all the JavaScript from the <head> on your
HTML page - does the problem persist then?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Spargo - Hip Hap Hop


Reply With Quote
  #10  
Old   
Frances
 
Posts: n/a

Default Re: Firefox - 01-24-2006 , 12:28 PM



Els wrote:
Quote:
Ed Mullen wrote:

Frances wrote:

Els wrote:

Frances wrote:

Mark Parnell wrote:

Deciding to do something for the good of humanity, Frances
fdr58 (AT) yahoo (DOT) com> declared in
comp.infosystems.www.authoring.stylesheets:


I have done css for Firefox many times, have never encountered
this.. would appreciate some leads..

A URL to the CSS file in question would make it much easier.

thanks... http://www.francesdelrio.com/cc/viewer.css

And what is the page that should use that stylesheet?
First I was guessing your main page, but that one doesn't even have a
reference to the stylesheet. Then I figured it would be about the page
http://www.francesdelrio.com/cc/, but that one is referencing a
different stylesheet. So.. which page is it that doesn't let Firefox
read the stylesheet?

I can't post code for pg calling stylesheet (this is for work... doesn't
even go in path I posted earlier for stylesheet, I just stylesheet there
yesterday to check css-syntax on line at the w3c site..), but call to
stylesheet is as follows:

LINK rel="stylesheet" type="text/css" href="viewer.css"
as you can see, nothing fancy, nothing unusual... thank you very much..

Hard to tell without a look at the actual server environment you are
seeing the error on. But, I'd suspect that possibly the server is
sending the wrong MIME type for the style sheet OR, possibly, that the
relative link in the HTML reference is not resolving correctly. Try an
absolute link with the full URL to the style sheet.


No, the server is sending the correct MIME type.
My wild guess is, that there is a syntax error in the JavaScript on
the HTML page, and the stylesheet is referenced *after* that
JavaScript, and therefore isn't recognised.
Frances - try taking out all the JavaScript from the <head> on your
HTML page - does the problem persist then?
there is no JS BEFORE call to stylesheet.. also if error is

Error: Unexpected end of file while searching for ',' or '{'.
Ruleset ignored due to bad selector.
Source File: file:///T:/_mac/Pres110886_TOL_Altera/content/template/main.css
Line: 1

and I click on ref to .css file it takes me to .css file.. how can this
be a JS error? ('Ruleset' is a css thing, right?)
(took out JS inside <head> problem persists..)

this is truly baffling, it's like FF is not finding stylesheet.. thanks
again.. Frances


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.