473,405 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Firefox insists on ?ignoring most of my CSS

I'm just getting into XHTML & CSS. This early test page
http://www3.telus.net/public/wexsess...st/fftest.html

displays as expected in IE 6 (which I did not expect) but Firefox
ignores almost all the CSS (which I did not expect).

Both the HTML & CSS validate OK.

I installed the Web Developer Extension in Firefox (V 1.07) and
discovered something interesting:

"Show css" shows that most of the CSS attributes are prefixed with a
'?'. (These are NOT in the css file, of course). What does this mean??

#top {
?*margin: 20px;
?padding: 10px;
?color: #000000;
?background: #dddd00;
?line-height: 100px; /* this does NOT happen in FF, does in IE */
border: solid 5px green;
}

Using Edit css, I delete the '?' prefixes, and the css works as
expected. Reload page causes the '?' to reappear and the css is
ignored again.

Help requested, please.

--
John W Hall <ww**************@telus.net>
Cochrane, Alberta, Canada.
"Helping People Prosper in the Information Age"
Dec 4 '05 #1
3 1421
On Sun, 4 Dec 2005, John W. Hall wrote:
http://www3.telus.net/public/wexsess...st/fftest.html [...] Both the HTML & CSS validate OK.
No: your CSS is almost entirely defective, as reported by the
W3C CSS checker.
"Show css" shows that most of the CSS attributes are prefixed with a
'?'.
Those are the same illegal characters which are causing the CSS
valdiation failures, presumably.
(These are NOT in the css file, of course).


What makes you think that? They surely are no mere invention.

They look to me like no-break spaces (x'a0' characters).

Whatever you're using to edit this CSS material is fuxing things up,
it seems.
Dec 4 '05 #2
Alan J. Flavell wrote:
No: your CSS is almost entirely defective, as reported by the
W3C CSS checker.
I had validated it a half-hour before posting, it was OK then.
Didn't think I had edited it since.
Whatever you're using to edit this CSS material is fuxing things up,
it seems.


That was Textpad. I can see the bad chars in Notepad. Got some exploring
to do.

Many thanks for pointing out my problem, I was going crazy.

Dec 5 '05 #3
On Sun, 4 Dec 2005, Alan J. Flavell wrote:
(These are NOT in the css file, of course).


What makes you think that? They surely are no mere invention.

They look to me like no-break spaces (x'a0' characters).


Thinking it over some more, I believe that the CSS file (in the
absence of an HTTP charset= attribute) is being treated as utf-8,
where these isolated x'a0' bytes are illegal.

Dec 5 '05 #4

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

Similar topics

6
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 ::...
12
by: Howard Kaikow | last post by:
Yesterday, I decided to try Firefox. I've encountered a behavior that is either a bug in Firefox or a bug in my Javascript code. I'll try to explain the problem, hoping that this newsgroup can...
2
by: Zouplaz | last post by:
Hi, I'm trying find a solution to display a contextual helptext when mouse enters a form element (IE6 and Firefox 1.0) The input tag : <input name="message.title" helptext="Help message"...
14
by: David Blickstein | last post by:
I have some XML documents that I want to open in a web browser and be automatically translated to HTML via XSLT. I'm using an xml-stylesheet processing command in a file called "girml.xml". ...
13
by: rbronson1976 | last post by:
Hi all, I have a very simple page that Firefox has problems with: www.absolutejava.com/testing.htm First of all, this page seems to be perfectly valid XHTML Strict. Both the W3C validator as...
4
by: Viken Karaguesian | last post by:
Hello all, I'm have an annoyance I can't seem to solve. I'm working on a website that has a sidebar floating to the right. In the sidebar is an unordered list. In IE and in Opera, the list shows...
5
by: BACON | last post by:
I'm just starting the process of reorganising my modest little website and cleaning up all the HTML, and the logical place to begin was with the homepage. I made a simple little ASP.NET control...
10
by: Danny | last post by:
Hi all, I am having some odd problems with AJAX on Firefox (1.5). When I use GET as the request method everything works ok, but when I do a POST the remote function doesn't get the parameters I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...
0
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...

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.