473,395 Members | 1,412 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,395 software developers and data experts.

Can I make NS4 and IE4 ignore the CSS

Hello

The specific code in my HTML pages is as follows:

<link rel="stylesheet" href="../../css/welcome.css" type="text/css"
media="screen" />
<link rel="stylesheet" href="../../css/print.css" type="text/css"
media="print" />

And so on...

I am trying to get NS4 and IE4 to ignore the CSS and simply display
the plain structured HTML content. Both browsers are intent on
displaying the styled page as well they can (poor fellows!) but it
looks bad.

Any ideas what I can do in the code to fix the problem?

Thanks
Chris
Jul 21 '05 #1
2 1444
Chris wrote:
Hello

The specific code in my HTML pages is as follows:

<link rel="stylesheet" href="../../css/welcome.css" type="text/css"
media="screen" />
<link rel="stylesheet" href="../../css/print.css" type="text/css"
media="print" />

And so on...

I am trying to get NS4 and IE4 to ignore the CSS and simply display
the plain structured HTML content. Both browsers are intent on
displaying the styled page as well they can (poor fellows!) but it
looks bad.

Any ideas what I can do in the code to fix the problem?


Poor fellows indeed. Try using the @import directive (see
http://hem.fyristorg.com/g-force/test/hidecss.htm) - using syntax like

<style type="text/css"><!--
@import "hidefromie4.css";
--></style>

should get you what you want. IE4.5Mac will still pick this up though
IIRC . . . the importance you place on that is a different matter ;)

P
Jul 21 '05 #2
Chris wrote:
I am trying to get NS4 and IE4 to ignore the CSS


http://w3development.de/css/hide_css_from_browsers/

--
Brian (remove "invalid" to email me)
Jul 21 '05 #3

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

Similar topics

6
by: Rob Meade | last post by:
Lo all, I was just running through some code I was writing for a site and when it came to the 'exact phrase' search type I wasn't sure whether that should run through and ignore the words in the...
12
by: Gary | last post by:
Hi! guys, I have a SQL agent job fails because it gets 10 warnings when it runs a stored procedure. These warnings are trivial and can be ignored. Can I make it ignore these warnings and...
10
by: john | last post by:
I want the page to completely ignore all mouse clicks. I can create the onmouseclick event and return false, but that only disables certain types of things. I can still, for example, click in a...
35
by: THOR88 | last post by:
IS THEIR A JAVER SCRIPT THAT WILL RITE SEIG HIEL 88 TIMES ON MY E-MALES???IF NOT CAN YUO RITE ONE PLEASE???
2
by: Barry C.Hawkins | last post by:
List, Hello. I am trying to get PostgreSQL 7.3.4 installed after moving to Mac OS 10.3, known as Panther. I am using the following configure statement: pbg417:/usr/local/src/postgresql-7.3.4...
19
by: zzw8206262001 | last post by:
Hi,I find a way to make javescript more like c++ or pyhon There is the sample code: function Father(self) //every contructor may have "self" argument { self=self?self:this; ...
36
by: anon.asdf | last post by:
Hello! Can the proprocessor make conditional decisions. Here's an example of the functionality (not standard C!) #define PUT_BYTE(const_index, val) \ #preprocessor_if (const_index ==...
2
by: ZBINContact | last post by:
Is there a directive or a command to outline code that I want the Designer to ignore? I am creating a group of user controls with extended self-checking functionality. In each user control, I...
0
by: Frank Birbacher | last post by:
Hi! sphenxes@gmail.com schrieb: Why is the referenceNumber a string? Are there always *exactly* six alternatives? The alternatives could be a std::deque which can resize as needed.
7
by: ayush patel | last post by:
Hi everyone, I am writing ASP code to send email using SMTP.I am getting error '8004020f' at .Send. this seems to be a common error. my SMTP server relays to anonymous email addresses.there is...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
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...

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.