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" 3 1435
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.
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.
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 have any ideas as to why this is happening?
|
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 (in)validate my Javascript code.
First, I'll describe the purpose of the Javascript code.
I often have a need to post a URL to something at my own web site, e.g.,
http://www.standards.com/Sorting/SortPerformanceComparison-Description.html.
It is...
|
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" value="" size=80>
The code :
var e = document.mainform.elements;
for(i=0;i<e.length;i++)
|
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".
This all works in Internet Explorer, but doesn't work with Firefox.
In both IE and Firefox this works:
<?xml-stylesheet type="text/xsl" encoding="UTF-8" href="makehtml.xslt"
version="1.0"?>
|
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 well as Page Valet indicate it is valid. The page
is being served with the proper MIME type of "application/xhtml+xml".
Unfortunately, Firefox will not display the page due to a non-breaking
| |
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 up as I want - aligned left. In FF, the list
displays in the middle of the sidebar, totally ignoring the margin, it
seems. In fact the main menu, which is styled similarly, also shows the same
issue. You can see an example here:
...
|
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 that I can drop
into the beginning of any page and it will generate HTML to display my
logo, a link, and (optionally) a quote of the day, all of which will be
horizontally centered at the top of the page by my default stylesheet.
For the main page,...
|
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 am passing to it.
Everything works fine on IE 6. Here's a couple samples of what I am
doing:
// using GET
url = 'http://www.myserver.com/cgi-bin/funct?key1=value1&key2=value2'
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |