R
Rick
Hi Yall
I'm not sure this is the correct place to post this, but I couldn't find a
better place.
I am teaching myself to build webpages and use stylesheets. I am using
FrontPage2000. It seems to be a good place to start.
To become familiar with HTML and CSS, I download the latest
standards/recommendations for both from www.w3.org.
Now, I'm not sure the Gods of Microsoft are claiming any percentage
compatibility with either standard. My problem is that I ran across some
very stupid inconsistencies.
Consider this code fragment:
<body>
....<q>Four score and seven years ago our fathers brought forth upon this
continent a new nation, conceived in liberty and dedicated to the
proposition that all men are created equal</q>
....
</body>
Now the HTML 4.01 standard/recommendation says, and this is a quote (copy
and paste):
marks at the beginning and end of the content of a Q element.
for outer and inner (nested) quotations, which should be respected by
user-agents.Yet IE6 does not put quotation marks around a quote. Seems a simple thing
that the Gods of Microsoft shoulda coulda done. At least they should have
read the standard.
Now there is a way to get around the Gods of Microsoft slip up using a
stylesheet or imbedded style. Consider this code fragment:
<head>
....
<style type="text/css">
<!--
q { quotes: '"' '"' }
q:before { content: open-quote }
q:after { content: close-quote }
-->
</style>
</body>
This should force the q element to put a quote at the beginning and end. It
does not, yet it is an integral part of the definition of CSS2.
It just makes me wonder what other things the Gods of Microsoft forgot.
hmmmmmmmm .....
Rick
btw .. this does not work either:
<head>
....
<style type="text/css">
<!--
h1:before { content: "a" }
h1:after ( content: "b" }
-->
</style>
</head>
I'm not sure this is the correct place to post this, but I couldn't find a
better place.
I am teaching myself to build webpages and use stylesheets. I am using
FrontPage2000. It seems to be a good place to start.
To become familiar with HTML and CSS, I download the latest
standards/recommendations for both from www.w3.org.
Now, I'm not sure the Gods of Microsoft are claiming any percentage
compatibility with either standard. My problem is that I ran across some
very stupid inconsistencies.
Consider this code fragment:
<body>
....<q>Four score and seven years ago our fathers brought forth upon this
continent a new nation, conceived in liberty and dedicated to the
proposition that all men are created equal</q>
....
</body>
Now the HTML 4.01 standard/recommendation says, and this is a quote (copy
and paste):
rendered with delimiting quotation marks. Authors should >not put quotationVisual user agents must ensure that the content of the Q element is
marks at the beginning and end of the content of a Q element.
(see the lang attribute). Many languages adopt >different quotation stylesUser agents should render quotation marks in a language-sensitive manner
for outer and inner (nested) quotations, which should be respected by
user-agents.Yet IE6 does not put quotation marks around a quote. Seems a simple thing
that the Gods of Microsoft shoulda coulda done. At least they should have
read the standard.
Now there is a way to get around the Gods of Microsoft slip up using a
stylesheet or imbedded style. Consider this code fragment:
<head>
....
<style type="text/css">
<!--
q { quotes: '"' '"' }
q:before { content: open-quote }
q:after { content: close-quote }
-->
</style>
</body>
This should force the q element to put a quote at the beginning and end. It
does not, yet it is an integral part of the definition of CSS2.
It just makes me wonder what other things the Gods of Microsoft forgot.
hmmmmmmmm .....
Rick
btw .. this does not work either:
<head>
....
<style type="text/css">
<!--
h1:before { content: "a" }
h1:after ( content: "b" }
-->
</style>
</head>