473,770 Members | 1,954 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

External CSS and HTML 2.0


I have been running tests on various doctypes and
found something interesting.

I set up a test page using this doctype...

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 1//EN">

....and put this in the head:

<link rel="stylesheet " type="text/css" href="http://www.example.com/test.css">

The page failed the W3C validator. Changing the above to...

<link rel="stylesheet " href="http://www.example.com/test.css">

....allowed the page to validate.

I already tell the browser what type of document test.css
is in my .htaccess file:

AddType 'text/css; charset=US-ASCII' .css
AddCharset US-ASCII .css
AddLanguage en-US .css

I repeated the test with HTML 4.01 strict and XHTML 1.1
pages (making the other changes needed) and it still validated.

Other than the usual Internet Explorer choking on XHTML 1.1
served as application/xhtml+xml, the HTML 2.0, HTML 4.01 strict
and the XHTML 1.1 test pages are all following the directives
in the CSS file just fine. The only quirk I found was that the
W3C CSS Validator couldn't find the CSS from the HTML/XHTML
file (but it validated when I pointed it at the CSS file).

Is there any good reason why that type="text/css" is found
in every example of using an extenal CSS that I can find?


-
Guy Macon <http://www.GuyMacon.co m/Guy Macon <http://www.GuyMacon.co m/>
Guy Macon <http://www.GuyMacon.co m/Guy Macon <http://www.GuyMacon.co m/>
Guy Macon <http://www.GuyMacon.co m/Guy Macon <http://www.GuyMacon.co m/>
Guy Macon <http://www.GuyMacon.co m/Guy Macon <http://www.GuyMacon.co m/>
Jul 25 '08
35 2372
Sun, 27 Jul 2008 18:44:34 +0000, /Chris F.A. Johnson/:
On 2008-07-27, Gus Richter wrote:
>You've got it wrong there. The sig is only stripped out when replying.

A good newsreader has the option to show or not show sigs when
displaying posts.
I wouldn't say that is top-of-pops feature which makes a newsreader
good. Especially if most people follow the etiquette of having sig
of no more than 4 lines.

--
Stanimir
Jul 27 '08 #21

Gus Richter wrote:
>
Travis Newbury wrote:
>On Jul 27, 4:05 am, Gus Richter <gusrich...@net scape.netwrote:
>>If it worked as you suggest, there would be no point in including a sig
since nobody would see it and there would be no need to strip it when
replying since it had already been stripped on receiving.

That's a mighty big assumption that everyone would stip them out.

I take it that English is not your first language, or you are lacking in
reading skills. Guy said that a "good newsreader will strip the sig
before displaying". I don't say it, nor assume it to be so. In fact, my
post disputes this. Guy did not say "everyone", he said "a good one".
>--
Travis Newbury <http://travisnewbury.b logspot.com/Flash Crap
Travis Newbury <http://travisnewbury.b logspot.com/Flash Crap
Travis Newbury <http://travisnewbury.b logspot.com/Flash Crap
Travis Newbury <http://travisnewbury.b logspot.com/Flash Crap

Do you stutter or are you otherwise challenged? Do you really think that
by irritating people by repeating your "crap" four times will attract
people? I may have otherwise gone to have a look.

I conclude that you are challenged since you do not properly use the (--
) but choose to irritate readers in this way as well.
And who are you, the .sig police?

Usenet has standards. The standard for .sigs is no more than 4 lines,
no more than 79 characters per line. Within that standard, the user
is allowed to put anything he wishes in his sig. Deal with it.


--
Guy Macon
<http://www.GuyMacon.co m/>

Jul 28 '08 #22

Chris F.A. Johnson wrote:
>
Gus Richter wrote:
>Guy Macon wrote:
>>>
A good newsreader will give you the option of stripping out .sigs
before displaying posts to the reader. This is an especially
valuable option for those who are easily annoyed by .sigs.

You've got it wrong there. The sig is only stripped out when replying.

A good newsreader has the option to show or not show sigs when
displaying posts.
Gus was a little excited and wasn't thinking straight.
This is an exciting day for Gus; he just got accepted
into the .sig police academy!
--
Guy Macon
<http://www.GuyMacon.co m/>

Jul 28 '08 #23
Guy Macon wrote:
Gus Richter wrote:
>Travis Newbury wrote:
>>On Jul 27, 4:05 am, Gus Richter <gusrich...@net scape.netwrote:
If it worked as you suggest, there would be no point in including a sig
since nobody would see it and there would be no need to strip it when
replying since it had already been stripped on receiving.
That's a mighty big assumption that everyone would stip them out.
I take it that English is not your first language, or you are lacking in
reading skills. Guy said that a "good newsreader will strip the sig
before displaying". I don't say it, nor assume it to be so. In fact, my
post disputes this. Guy did not say "everyone", he said "a good one".
>>--
Travis Newbury <http://travisnewbury.b logspot.com/Flash Crap
Travis Newbury <http://travisnewbury.b logspot.com/Flash Crap
Travis Newbury <http://travisnewbury.b logspot.com/Flash Crap
Travis Newbury <http://travisnewbury.b logspot.com/Flash Crap
Do you stutter or are you otherwise challenged? Do you really think that
by irritating people by repeating your "crap" four times will attract
people? I may have otherwise gone to have a look.

I conclude that you are challenged since you do not properly use the (--
) but choose to irritate readers in this way as well.

And who are you, the .sig police?
Just someone that tries to follow conventions, point out false
allegations and irritating "crap".
Usenet has standards. The standard for .sigs is no more than 4 lines,
no more than 79 characters per line. Within that standard, the user
is allowed to put anything he wishes in his sig. Deal with it.
Please provide a link to these "Usenet Standards".

--
Gus

Jul 28 '08 #24
Guy Macon wrote:
Chris F.A. Johnson wrote:
>Gus Richter wrote:
>>Guy Macon wrote:
A good newsreader will give you the option of stripping out .sigs
before displaying posts to the reader. This is an especially
valuable option for those who are easily annoyed by .sigs.
You've got it wrong there. The sig is only stripped out when replying.
A good newsreader has the option to show or not show sigs when
displaying posts.

Gus was a little excited and wasn't thinking straight.
This is an exciting day for Gus; he just got accepted
into the .sig police academy!
Thinking straight, thank you. More than I can say about you. Trolling is
what you're into. What would a Googlegrouper like you and Chris know
about a good newsreader? How about using one?

--
Gus
Jul 28 '08 #25
Here's another thread replete with devastating brilliance and insight. I
wouldn't have missed it for worlds. But being the bozo newbie that I am
(with my code replete with frames and javascript, and not a style sheet
in sight), the sharp and witty post which showed how to count angels on
pinheads has completely passed me by.

Pity really.
Jul 28 '08 #26
On Jul 28, 5:29*am, Tim Streater <tim.strea...@d ante.org.ukwrot e:
Here's another thread replete with devastating brilliance and insight.
Yea, what a shame..

Jul 28 '08 #27

Gus Richter wrote:
>
Guy Macon <http://www.GuyMacon.co m/wrote:
>Gus Richter wrote:
>>Travis Newbury wrote:

Gus Richter wrote:

If it worked as you suggest, there would be no point in including a sig
since nobody would see it and there would be no need to strip it when
replying since it had already been stripped on receiving.

That's a mighty big assumption that everyone would stip them out.

I take it that English is not your first language, or you are lacking in
reading skills. Guy said that a "good newsreader will strip the sig
before displaying". I don't say it, nor assume it to be so. In fact, my
post disputes this. Guy did not say "everyone", he said "a good one".

--
Travis Newbury <http://travisnewbury.b logspot.com/Flash Crap
Travis Newbury <http://travisnewbury.b logspot.com/Flash Crap
Travis Newbury <http://travisnewbury.b logspot.com/Flash Crap
Travis Newbury <http://travisnewbury.b logspot.com/Flash Crap
Do you stutter or are you otherwise challenged? Do you really think that
by irritating people by repeating your "crap" four times will attract
people? I may have otherwise gone to have a look.

I conclude that you are challenged since you do not properly use the (--
) but choose to irritate readers in this way as well.

And who are you, the .sig police?

Just someone that tries to follow conventions, point out false
allegations and irritating "crap".
>Usenet has standards. The standard for .sigs is no more than 4 lines,
no more than 79 characters per line. Within that standard, the user
is allowed to put anything he wishes in his sig. Deal with it.

Please provide a link to these "Usenet Standards".
I take it that English is not your first language, or that you are
lacking in reading skills. The phrase "Usenet Standards" implies
an RFC or other official document. The phrase "Usenet has standards"
implies a long tradition of clueful Usenet users doing something the
same way and thus creating a de-facto standard.

That being said, Section 4.3 of RFC 3676 documents the
"-- " separator and Page 4 of RFC 1855 documents the
4-line McQuary limit.

And, of course, the The alt.fan.warlord FAQ is the authority
on all things .SIGish... (search on "4 LINES, THE NET STANDARD.")
http://linuxmafia.com/~rick/afw/#afwfaq

Also see:

http://www.catb.org/jargon/html/M/McQuary-limit.html
http://lipas.uwasa.fi/~ts/http/signatur.html
http://mailformat.dan.info/trailers/sigblocks.html
http://tools.ietf.org/html/rfc3676#section-4.3
http://www.ietf.org/rfc/rfc1855.txt

And before anyone starts the usual bleating about the above
documents not saying that the 4-line McQuary limit is a
requirement, please note that nothing concerning the content
Usenet posyts is required or forbidden. There is no central
governing agency over Usenet, and as such, one can only offer
friendly suggestions or strongly worded suggestions towards
an ideal of compliance. There are no .sig police to run
to if someone wants to go against the rules.

--
Guy Macon
<http://www.GuyMacon.co m/>

Jul 28 '08 #28

Gus Richter wrote:
>
Guy Macon <http://www.GuyMacon.co m/wrote:
>Gus was a little excited and wasn't thinking straight.
This is an exciting day for Gus; he just got accepted
into the .sig police academy!

Thinking straight, thank you. More than I can say about you. Trolling is
what you're into. What would a Googlegrouper like you and Chris know
about a good newsreader? How about using one?
You think that I am a Googlegrouper?

I post through Giganews, using a newsreader that I compiled
myself, based on a highly modified version of the source
code for WinVN (the newsreader NASA brought to us). I run
it on a copy of Windows 2000 Advanced server running inside
a VMWare virtual machine that in turn runs on my main
Slackware Linux box.
--
Guy Macon
<http://www.GuyMacon.co m/>

Jul 28 '08 #29
"Tim Streater" <ti**********@d ante.org.ukwrot e...
Here's another thread replete with devastating brilliance and insight.
Your eyes must be MUCH better than mine ...
.... Unless you are hallucinating?

I was just about to nominate it for "Boring Thread of the Day"
--

Andrew
seo2seo.com
sick-site-syndrome.com

UK Residents:
STOP THE "10p Tax Ripoff"
Sign the petition to stop the government stealing from the
very poorest tell your friends about this petition:
http://petitions.pm.gov.uk/10penceband/
Jul 28 '08 #30

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

Similar topics

1
1508
by: Chuck Mendell | last post by:
I am having problem with external javascripts. My OS is XP Pro. I am told to create an external javascript using a .js extension. (I did that) The external .js is very simple, containing: function a_message() { alert('I came from an external script! Ha, Ha, Ha!!!!'); } I am told to create an HTML page that accesses the .js script. (I did that).
5
37828
by: kinne | last post by:
Is it possible to pass a parameter to an external ".js" file? Kinne
1
2268
by: mb | last post by:
Hi, I picked up this JavaScript code (quiz code) at: http://javascript.internet.com/miscellaneous/multiple-choice-quiz.html and modified it (and may have deleted some line I shouldn't have) so that it looks like this on my web site: http://www.goalseek.net/Scripts/qa_XL_History.htm
4
3175
by: dennise9 | last post by:
My exeternal JS works fine when the call is placed in the page head or body. But if I call the same javascript from a (clicked) text link on the page, the script throws a JS error when it executes. Help! I can't figure this out. The external JS file is "members.js". Here's the code:
0
1237
by: dmcomer | last post by:
In the context of parsing and preserving HTML tags in an XSL stylesheet, I understand the difference between <xsl:value-of select="body"/> and <xsl:copy-of select="body> However, I am trying to, with a twist on the above, pass the copy-of string to an external XSLT function. That is, in .NET 2.0, I am attempting something like the following (not that .NET applies to the XSL below, but just so you know the environment context):
0
2026
by: =?Utf-8?B?c25naWxi?= | last post by:
I am having 3 issues with the WebBrowser control which may all be related. The HTML for the page is the standard Weather Magnet from weather.com. The actual HTML is at the bottom of this page. Issue 1: I am opening a page in the control in the development environment and the document comes up correctly. But, when I click a link in the resulting document, an external IE instance comes up with the requested page. I have see reference to...
5
3698
by: althafexcel | last post by:
hi everyone Im trying to include an external js in my aspx page under the head tag, it doesn't load or it displays an object expected error whenver the function from the .js is called. Actually for repeated html im using the external js, i mean the TOP, BOTTOM they are repeated in every page, so i include them as functions in the external js and call them. Why it doesn't work?
3
1856
by: RICHARD BROMBERG | last post by:
I have a simple program to test using an external .js file. This external file contains some functions that I need to call from several html programs. The program as written below works fine. 1. <html> 2. <head> 3. <meta http-equiv="Content-Language" content="en-us"> 4. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5. <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> 6. ...
0
9617
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
9453
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
10254
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...
1
10036
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,...
0
9904
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
6710
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();...
0
5354
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...
2
3607
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
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...

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.