473,551 Members | 2,775 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Firefox

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

Jan 24 '06 #1
25 9257
Deciding to do something for the good of humanity, Frances
<fd***@yahoo.co m> declared in
comp.infosystem s.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.

--
Mark Parnell
=============== =============== =============== ========
Att. Google Groups users - this is your last warning:
http://www.safalra.com/special/googlegroupsreply/
Jan 24 '06 #2
Mark Parnell wrote:
Deciding to do something for the good of humanity, Frances
<fd***@yahoo.co m> declared in
comp.infosystem s.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

Jan 24 '06 #3
Els
Frances wrote:
Mark Parnell wrote:
Deciding to do something for the good of humanity, Frances
<fd***@yahoo.co m> declared in
comp.infosystem s.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
Jan 24 '06 #4
Els wrote:
Frances wrote:

Mark Parnell wrote:
Deciding to do something for the good of humanity, Frances
<fd***@yahoo .com> declared in
comp.infosys tems.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.cs s">
as you can see, nothing fancy, nothing unusual... thank you very much..

Frances

Jan 24 '06 #5
VK

Frances wrote:
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.

Jan 24 '06 #6
Frances wrote:
Els wrote:
Frances wrote:

Mark Parnell wrote:

Deciding to do something for the good of humanity, Frances
<fd***@yahoo.co m> declared in
comp.infosystem s.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.cs s">
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
Jan 24 '06 #7
Frances wrote:

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)
Jan 24 '06 #8
Els
Ed Mullen wrote:
Frances wrote:
Els wrote:
Frances wrote:
Mark Parnell wrote:
> Deciding to do something for the good of humanity, Frances
> <fd***@yahoo.co m> declared in
> comp.infosystem s.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.cs s">
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
Jan 24 '06 #9
Els wrote:
Ed Mullen wrote:
Frances wrote:
Els wrote:

Frances wrote:

>Mark Parnell wrote:
>
>>Decidin g to do something for the good of humanity, Frances
>><fd***@ya hoo.com> declared in
>>comp.info systems.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.cs s">
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
Jan 24 '06 #10

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

Similar topics

3
9274
by: Jeremy Epstein | last post by:
I've got a 4-page form that lets users enter a whole lot of information, which is then submitted and emailed at the end. All the fields are stored as session data. The whole thing works fine: 1. On my local box (WinXP / Apache2 / PHP4) using IE6 2. On my local box using Firefox1 3. On my hosted server (RHLinux / Apache1.3 / PHP4) using...
6
5008
by: Geoff | last post by:
When trying to focus a field in Firefox, I get the following error: Error: " nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: file:///C:/Documents%20and%20Settings/Edd/Desktop/test.html :: valText :: line 24" data: no] Source File: file:///C:/Documents%20and%20Settings/Edd/Desktop/test.html Line: 24 Anyone...
87
9517
by: expertware | last post by:
Dear friends, My name is Pamela, I know little about CSS, but I would like to ask a question I have an image on a web page within a css layer: <DIV ID=MyLayer STYLE = "position: absolute;top:68px; left:563px; width:640px;height:480px;"> <IMG src="ReportImageBox_12.54.52.png" width=640 height=480></IMG>
14
2303
by: expertware | last post by:
Ok! to avoid confusion I will start a new argument. Thanks!! FIREFOX 1.0.7 AND IE6 viewed through DATATIME: a summary REPORT =============================================================== by Pamela Datatime Team -----------------
5
3107
by: SPE - Stani's Python Editor | last post by:
Hi, During optimizing SPE for Ubuntu, I found something strange. I have Ubuntu 5.10 "The Breezy Badger" and unfortunately this code is not working: >>> import webbrowser >>> webbrowser.open("http://www.python.org") It does not throw an exception, but is not able to launch a browser.
7
9584
by: Coder | last post by:
Hi I have the following code in java script, it is not giving proper output in FIREFOX but running fine in IE... can anybody help me out to make this run in FIREFOX . <script language="JavaScript"> var cntlName; var eleTarget = document.getElementById('hiding'); function showOrHide(){
12
1762
by: amit | last post by:
Hello group, I'm kinda skeptical about a code is being used in my js program. All it does is checking what browser is being run and finds out if FLASH is installed or not. This code works just fine withe IE but as far as Firefox I'm not sure. Using the firefox I can see flash pages easily but when this code says firefox is not installed...
6
5818
by: scotty | last post by:
I have a script that loops through an existing table list and prepares each href element node to trigger a function when an image is clicked. The function that will be run passes a property value to the function upon clicking. The property value is one of the attributes defined for each respective href in the property list. In IE and...
7
2530
by: Carlos Mendona | last post by:
Has anyone managed to get ClickOnce to work with Firefox? It seems to me that it still has the same issues VS 2K5 had. I appreciate any comments or tips.
3
2414
by: SAL | last post by:
Hello, I did google this issue and found some stuff related to BrowserCaps section of either web.config or machine.config but it didn't work. It seems that most pages in my webapp are okay but a couple of the Firefox is munging up. So, on my information page there is a gridview in the content section of the page. The masterpage contains...
0
7492
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...
0
7768
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. ...
0
8002
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7522
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...
0
6106
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5406
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...
0
5130
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...
0
3534
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1097
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.