473,783 Members | 2,516 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mozilla not loading style sheets when using HTML 4.01 Strict?

Hi,

I have a page done in HTML 4.01 Strict. I've noticed that on Mozilla, it
doesn't load the my external stylesheet, no matter if I attach it via 'link'
or '@import'. I don't want to have to use embedded style sheets. How can I
get around this?

Aaron
Jul 20 '05 #1
3 2341
Aaron wrote:
Hi,

I have a page done in HTML 4.01 Strict. I've noticed that on
Mozilla, it doesn't load the my external stylesheet, no matter if I
attach it via 'link' or '@import'. I don't want to have to use
embedded style sheets. How can I get around this?


Is your hosting service delivering it as type="text/css"? If not, Gecko
browsers won't treat it as a CSS. (Although they can still read it).

You may need to ask your hosting service to change.

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/
Jul 20 '05 #2
Aaron wrote:
I have a page done in HTML 4.01 Strict. I've noticed that on Mozilla, it
doesn't load the my external stylesheet, no matter if I attach it via
'link'
or '@import'. I don't want to have to use embedded style sheets. How can
I get around this?


Without a URI to check I'll have to guess.

Configure your webserver to it tells Mozilla that it is a CSS file and not a
plain text file or a point plus file.

How you do this depends on the httpd software you use.

--
David Dorward <http://dorward.me.uk/>
Jul 20 '05 #3
I am having this same problem. Can anyone tell me how to configure Tomcat
to deliver the stylesheet as text/css rather than text/plain? There is no
static httpd server involved.

--
--
Jim McMaster
mailto: ji**********@co mcast.net
"David Dorward" <do*****@yahoo. com> wrote in message
news:c0******** ***********@new s.demon.co.uk.. .
Aaron wrote:
I have a page done in HTML 4.01 Strict. I've noticed that on Mozilla, it doesn't load the my external stylesheet, no matter if I attach it via
'link'
or '@import'. I don't want to have to use embedded style sheets. How can I get around this?
Without a URI to check I'll have to guess.

Configure your webserver to it tells Mozilla that it is a CSS file and not

a plain text file or a point plus file.

How you do this depends on the httpd software you use.

--
David Dorward <http://dorward.me.uk/>

Jul 20 '05 #4

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

Similar topics

4
3459
by: Robert Secon | last post by:
Hi there, when using IE5+ my style sheets just work fine, but Mozilla does not agree with it and I can´t figure out which mistake it is. Usually the thing about it is that every row is displayed well but Mozilla displays the first row too big and cuts away the second row of the text. Can somebody tell me what is wrong with it and how to change the code? (HTML-Table wrapped around in php-code)
4
3128
by: Don Adams | last post by:
Does the Mozilla browser even support CSS? Very few of my stylesheet formats work in Mozilla. Is there a local stylesheet that is overriding my stylesheet? If so, is there an option to turn off the local stylesheet? Also, I would treat Mozilla like Netscape 4.x in my PHP code; however, I can't see in the user agent (shown below) any way to determine that the browser is Mozilla. I've seen other browser user agents with "Gecko" in them...
6
5168
by: Patrick | last post by:
Hi I am fairly new to CSS and the web.I am trying to build a site more to practice my skills than for the site itself. I have been focusing on CSS and try my best to make it work in I.E 6.0, Opera 7.23, Mozilla 1.4 and N.N. 7.1. My site was doing fine until i read i was supposed to keep everything validated so i entered a strict html 4.01 doctype with url following.My HTML validated fine. So i validated my CSS and beside a little...
8
1561
by: irte | last post by:
Hi there, I made the following page using CSS (a lot of new CSS that I'd never used before): http://www-rcf.usc.edu/~mfarrell/ It shows up fine in IE, but in Mozilla the height of the "main" div doesn't stretch to fit the content. So my CSS must be wrong somehow, as I suspect Mozilla respects CSS standards more. The style sheet is here:
8
2054
by: nick | last post by:
In the web site http://greywolfdesign.com , there is a pop-up menu (when mouse over 'Portfolio' menu item), it always works well when using IE (6). However, when using Mozilla 1.6, the popup works well for all the pages except the 4 pages which can be opened by click the menu link in the popup. In these four pages, the popup will always be shown at the leftmost of its parent div (flow) instead of under the 'Portfolio' menu item. When...
9
12520
by: lkrubner | last post by:
How do I get all the div's on a page? I realize in IE I can use document.all. For the other browsers, I need to get an array of all the divs on the page. getElementByTagName()?????
1
4968
by: Ryan Stewart | last post by:
If you don't want to read this post because of its length, I understand. I've spent two and a half days on this problem and have a good deal of information to relate. And this is kind of a long shot, but I'm just hoping someone here has experienced a similar problem and has a better idea of what's going on than I do. First, I've tested this in IE 6.0, Netscape 7.2, Mozilla 1.75, and Firefox 1.0. It works fine in IE (even though I was...
5
1865
by: Andrey Tarasevich | last post by:
Hello Consider the following simple piece of HTML <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html style="width: 100%; height: 100%"> <body style="width: 100%; height: 100%">
7
2497
by: praveenb000 | last post by:
Hi, every one on this forum.... I am new to web designing (using HTML/CSS). i designed a web page using HTML, Css with dream weaver. Here is the code i used for the desinging. it appears well in IE 6 browser but not in Mozilla 4.0 some components are disappears. This is the whole code i used for designing this page and i also given css files coding.(except images) i don't know how to upload my files in this site(forum). So i am...
0
9643
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, 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...
0
9480
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,...
0
10315
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9946
tracyyun
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...
0
8968
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 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...
1
7494
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5379
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...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.