6 2789
Ben Sharvy wrote: Netscape won't load the stylesheet for this page: http://www.efn.org/~bsharvy/ecolibparty.html
Strangely, it loads the exact same stylesheet as linked here: http://www.efn.org/~bsharvy/dummies.html
As another poster suggested, the problem is an incorrect MIME type on
the server. The reason the stylesheet loads in the second page but not
the first is due to the DOCTYPE. The first page triggers standards
mode, which requires the correct type. The second page triggers quirks
mode, which doesn't.
Don't get around your problem by changing the DOCTYPE on the first page,
that would be fixing the wrong problem. Contact the hosting service and
tell them to fix the Content-type for .css files. It should be
text/css, not text/plain.
--
To email a reply, remove (dash)ns(dash). Mail sent to the ns
address is automatically deleted and will not be read.
kchayka wrote:
[snip] As another poster suggested, the problem is an incorrect MIME type on the server. The reason the stylesheet loads in the second page but not the first is due to the DOCTYPE. The first page triggers standards mode, which requires the correct type. The second page triggers quirks mode, which doesn't.
[snip]
I was that other poster, and I too specifiy "standards mode" (for 4.01
Transitional).
I've been assuming that this is the right thing to do (that is, not specify
"quirks mode"). But I never really understood the pros and cons. I assumed it
would help me validate that I was producing forward-looking material. But it
also appeared to mean that I may therefore produce material that IE5 & IE6
(etc) rendered differently. (IE5 box model, etc). (I've read the MS pages on
the topic, but they say "what" happens, and don't really answer "why" do one
thing or the other).
Is there a downside to "standards mode"?
--
Barry Pearson http://www.Barry.Pearson.name/photography/ http://www.BirdsAndAnimals.info/ http://www.ChildSupportAnalysis.co.uk/
"Barry Pearson" <ne**@childsupp ortanalysis.co. uk> wrote in message news:<lE******* **********@news fep1-win.server.ntli .net>... Ben Sharvy wrote: I'm using Netscape 7.02 for Mac, and observed the same problem on some version of Mozilla under Red Hat.
Netscape won't load the stylesheet for this page: http://www.efn.org/~bsharvy/ecolibparty.html
Strangely, it loads the exact same stylesheet as linked here: http://www.efn.org/~bsharvy/dummies.html
I had a similar problem. I received the following help:
http://groups.google.com/gr*********...psis.dur.ac.uk
I don't know if yours is the same problem. (
I don't think the server can be the problem, because different HTML
documents linking to the *same* stylesheet do display the styles
correctly.
Barry Pearson wrote: Is there a downside to "standards mode"?
None that I can think of. You have a better chance of getting
consistent results using standards mode than quirks mode.
--
To email a reply, remove (dash)ns(dash). Mail sent to the ns
address is automatically deleted and will not be read.
Ben Sharvy wrote: "Barry Pearson" <ne**@childsupp ortanalysis.co. uk> wrote in message news:<lE******* **********@news fep1-win.server.ntli .net>... Ben Sharvy wrote: > I'm using Netscape 7.02 for Mac, and observed the same problem on > some version of Mozilla under Red Hat. > > Netscape won't load the stylesheet for this page: > http://www.efn.org/~bsharvy/ecolibparty.html > > Strangely, it loads the exact same stylesheet as linked here: > http://www.efn.org/~bsharvy/dummies.html
I had a similar problem. I received the following help:
http://groups.google.com/gr*********...psis.dur.ac.uk
I don't know if yours is the same problem. (
I don't think the server can be the problem, because different HTML documents linking to the *same* stylesheet do display the styles correctly.
Someone else has already responded. The page that doesn't work starts:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
That forces certain browsers to obey rules strictly. (It is actually the 2nd
line, with the URL, that tells them to do that). As it happens, IE6 still
doesn't do obey the rules strictly, and will use a CSS that is being served as
text/plain. Mozilla Firebird and perhaps other browsers do take a stricter
line, and refuse to use the CSS.
Interestingly, Mozilla Firebird refuses to use that CSS in standards mode. But
the "web developer's" toolbar you can add to Firebird will happily show you
the contents of the CSS! It has no trouble obtaining the CSS - it simply
refuses to use it. Which is presumably correct practice, but a bit irritating
when you first hit it.
--
Barry Pearson http://www.Barry.Pearson.name/photography/ http://www.BirdsAndAnimals.info/ http://www.ChildSupportAnalysis.co.uk/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: George Hester |
last post by:
What's this? IE has a simple way using an ActiveX object so that I can load a text file into the <OPTION>s like a database. It is called Tabular Control. But I doubt this is going to work with Netscape. What to do?
--
George Hester
__________________________________
|
by: Gerald S. |
last post by:
Hello,
I am trying to set the space between the bullet and the first word in a UL,
without any luck.
My Lists look like:
x Item 1
x Item 2
x Item 3
|
by: jason baumunk |
last post by:
I author applications in php which use external stylesheets. When
viewed through ie 6, netscape 6, et al. occassionally the stylesheets
will not load or be applied. Has anybody encountered this and found a
fix/workaround so that the stylesheets are verified as having been
loaded/applied? I'm running apache and the external stylesheets are
actually php files that serve dynamic stylesheets(ie,
site.css.php......I don't suspect that this...
|
by: Jonas Smithson |
last post by:
I'm going to say something now that may seem to completely contradict
a previous post of mine, in which I basically said that taking a "who
cares" attitude about certain browsers (because of their non-standard
CSS rendering) makes no sense.
Well, you have to draw the line *somewhere*... and contradictory or
not, I've decided that I've suffered with Netscape 4 for long enough.
Coding workarounds for its brain-dead CSS rendering has...
|
by: lawrence |
last post by:
I thought I was fighting a PHP problem, so I asked about this on a PHP
list, but they felt it was a Javascript problem, so I'm reposting a
bit of the debate here. Could this Javascript, below, possibly trigger
a redirect in Netscape, and send the browser to a file called "0".
Cause what is happening is on load, in Netscape, the page redirects to
something like:
http://www.myDomain.com/0
| |
by: Wm |
last post by:
I have a script that changes a main/enlarged image when you click on a
thumbnail. It works fine in IE, but for some reason it won't do anything in
Netscape 7.1. Does anyone know if this is a problem with Netscape, or is
there something I can alter in this script that will allow it to work in
both IE and Netscape?
<script language="JavaScript">
function enlarge() {
oSrcElem = event.srcElement;
imgLarge.src =...
|
by: Shawn Modersohn |
last post by:
<script type="text/javascript">
var browser=navigator.appName
if (browswer="Microsoft Internet Explorer")
document.styleSheets.rules.style.left="50px"
</script>
IE does exactely what I hoped this script would do. Netscape says that
document.styleSheets.rules has no properties. Since this script is
targeted at IE anyway, should I be concerned? Also, is this script way
oversimplified? All the css rule does is shift an image slightly to
|
by: christian9997 |
last post by:
Hi
I would be very helpful if someone could help me with this code.
It works fine in IE but when I display it in Netscape or Firefox and I
move the mouse from one menu to the other the gap between the two menus
gets bigger. What is the cause of this? Thanks
CODE:
|
by: Nathan Sokalski |
last post by:
I was testing out a page of mine that displays the information from
Page.Request.Browser. It works exactly as I expected in Internet Explorer
and Netscape 4.75 (I didn't expect much in Netscape 4.75, but I got some
stuff). However, Netscape 7.1 gave me some strange stuff, including the
following:
1. It gave the Version as 5.0 rather than 7.1, and the Type as Netscape5
2. ASP.NET did not send any CSS other than the constant part that I...
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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: 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: 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 project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |