Re: [WSG] Gaps At The Top

2006-02-03 Thread Karl Dawson
haha, now this is light-hearted education. First grin of the morning (08.21hrs).On 03/02/06, russ - maxdesign 
[EMAIL PROTECTED] wrote: Adding a margin: 0px; to the H1 element pushed up to the top.
Remember, every time you add units to a 0 value, a web standards fairydies. To avoid this on your conscience, simply use margin: 0;. Apart fromthe lives you could save, think of the bandwidth savings!
RussWeb standards shetland pony**The discussion list forhttp://webstandardsgroup.org/ See 
http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list  getting help**-- Karl Dawson
http://www.thatstandardsguy.co.uk--Accessites Team Member - http://www.accessites.org/
--The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.Tim Berners-Lee - W3C Director and inventor of the World Wide Web



[WSG] Head and Title elements

2006-01-30 Thread Karl Dawson
Hi 
All,

Another Monday, but 
this time two articles for the price of one. This week I've took a look at the 
head 
element and the title 
element. The latterturned out to be more interesting than I 
thought it might be, especially considering the accessibility angle. It'll be 
interesting to see other views on it.Regards,-- Karl Dawson
http://www.thatstandardsguy.co.uk--
Accessites Team Member - http://www.accessites.org/--
The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.
Tim Berners-Lee - W3C Director and inventor of the World Wide Web



[WSG] This week's article: Content Language

2006-01-23 Thread Karl Dawson
Hi All,Blimey, week 3 and I've finally arrived at the html tag in my From the Top series of articles.From the Top: Content Language
Feel free to comment :-)Regards,-- Karl DawsonCrusader for Web Standards and Accessibilityhttp://www.thatstandardsguy.co.uk
--Accessites Team Member - http://www.accessites.org/--The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.
Tim Berners-Lee - W3C Director and inventor of the World Wide Web


[WSG] Article: MIME and Content Negotiation

2006-01-16 Thread Karl Dawson
Hi,

Apologies in advance if you see this cross-posted:

From the Top is 
a series of articles that I am publishing to concisely explain how and why to 
construct a high quality, web-standards compliant head section for a web page. 
The 
second article, just released, examines MIME and Content Negotiation.

http://www.thatstandardsguy.co.uk/2006/01/16/content-negotiation/
Comments, especially error-spotting and general bravo very welcome, it all helps with my work position.Regards,-- Karl Dawson
Crusader for Web Standards and Accessibility


http://www.thatstandardsguy.co.uk--
Accessites Team Member - http://www.accessites.org/--
The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.
Tim Berners-Lee - W3C Director and inventor of the World Wide Web






Re: [WSG] Article: MIME and Content Negotiation

2006-01-16 Thread Karl Dawson
Hi Bob,I modified Neil's script (I'm no PHP scripter though so it took a little trial and error) and the code I published worked for me. My test site is on the home PC but if I recall correctly I think you need to remove any hardcoding of meta http-equiv=Content-Type content=application/xhtml+xml; charset=utf-8 / or similar that you may have in your template / page and pull in the script as an include (baseline statement - I'm sure you're there already).
It is essential to declare the content-type in the format above, like Lachlan says :-)For HTML 4 you will want to use 
meta http-equiv=Content-Type content=text/html; charset=utf-8Try my version, maybe Neil had a typo or something?Regards, KarlOn 16/01/06, 
designer [EMAIL PROTECTED] wrote:

Hi Karl,An interesting piece, well done. However, it still leaves me with someconfusion.I have been using Neil Crosby's PHP approach on [1] (see signature,below) and it works 'OK', BUT, if I omit the meta tag:
meta http-equiv=Content-Type content=application/xhtml+xml;charset=utf-8 /from it's usual place, I get Chinese characters everywhere.In otherwords, although the PHP header puts the lang attribute and utf-8 in the
code, it won't work without the meta as well. (Not for me, anyway :-)Why is this, do you think?Using the PHP approach, the head section appears as follows(stars tohighlight the offending meta tag) :
?xml version='1.0' encoding='utf-8' ?!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN''
http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd
'html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'headtitlegwelanmor internet/title
meta name=Keywords
content= web design, flash, CSS, web standards, affordable style, minimalist, innovative, Cornwall, U.K. /meta name=Descriptioncontent= gwelanmor Internet is a company which specialises in creating modern,standards-based, minimalist web sites at affordable rates /
meta content=Bob McClellandname=author /meta content=bob mcclelland, gwelanmor-internetname=Copyright /meta http-equiv=Content-Type 
content=application/xhtml+xml; charset=utf-8 /link href="">rel=stylesheettype=text/css //head
Or, if IE or any browser that won't serve application/xhtml+xml, it appears as:!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01//EN''
http://www.w3.org/TR/html4/strict.dtd
'html lang='en'headtitlegwelanmor internet/titlemeta name=Keywordscontent= web design, flash, CSS, web standards, affordable style, minimalist, innovative, Cornwall, 
U.K.meta name=Descriptioncontent= gwelanmor Internet is a company which specialises in creating modern,standards-based, minimalist web sites at affordable rates

meta content=Bob McClellandname=authormeta content=bob mcclelland, gwelanmor-internetname=Copyrightmeta http-equiv=Content-Type *
content=application/xhtml+xml; charset=utf-8link href="">rel=stylesheettype=text/css/head

Obviously, the meta tag in the IE example is simply wrong and I'vewondered about using PHP to generate the line as appropriate so this'daft' line doesn't appear. But it doesn't seem to work without thecharset. This is why I asked yesterday about using :
meta http-equiv=Content-Type content=charset=utf-8 /Lachlan says this is simply incorrect, so I'm a bit confused by all this.--Best Regards,Bob McClelland
Cornwall (UK)www.gwelanmor-internet.co.uk [1]Karl Dawson wrote:
 Hi, Apologies in advance if you see this cross-posted:
 From the Top is a series of articles that I am publishing to concisely explain how and why to construct a high quality, web-standards compliant head section for a web page. The second
 article, just released, examines MIME and Content Negotiation. 
http://www.thatstandardsguy.co.uk/2006/01/16/content-negotiation/
 Comments, especially error-spotting and general bravo very welcome, it all helps with my work position. Regards, -- Karl Dawson Crusader for Web Standards and Accessibility
 http://www.thatstandardsguy.co.uk --
 Accessites Team Member - http://www.accessites.org/
 -- The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect. Tim Berners-Lee - W3C Director and inventor of the World Wide Web
--Best Regards,Bob McClellandCornwall (UK)www.gwelanmor-internet.co.uk
**
The discussion list forhttp://webstandardsgroup.org/ See 
http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help**-- Karl DawsonCrusader for Web Standards and Accessibility
http://www.thatstandardsguy.co.uk--Accessites Team Member - 
http://www.accessites.org/

Re: [WSG] Article: MIME and Content Negotiation

2006-01-16 Thread Karl Dawson
Thanks for the feedback, I made a few amendments / corrections this morning including:xhtml-xml - D'oh! Got it right twice before :owell-formedness versus validation - Got it right once before ;-) (more coffee at proof-reading time)
On 16/01/06, Lachlan Hunt [EMAIL PROTECTED] wrote:
 # The XML Prolog is required for character sets other than UTF-8 and UTF-16. This is declared on line 1 of your code in the format xml version=1.0 encoding=yourChosenCharset ?
That's the XML declaration, which forms part of the XML Prolog.The XMLProlog is always present and comprises the XML declaration, PIs and theDOCTYPE (although all of those parts are optional in XML 1.0)
Ahhh, thanks for the clarification. I should state here I guess that not only did this take all week to write, but it was (and always will be) a learning curve too.
 # Only five named character entities are "safe": lt;, gt;, amp;, quot; and apos;.On 4 are safe when using text/html, because apos; is undefined in HTMLand is not supported by IE.However, the article of mine that you
linked to does cover that issue so it's not a major problem. Standard Generalized Markup Language (SGML) comments (!-- comment --) hide everything - including style and script tags.
They're XML comments, which are based on SGML comments but still differin significant ways.I have another article which covers this issue ingreat detail.I pulled that bullet-point because I'd gotten it muddled up. I'll read up your article and word it better in an update.
http://lachy.id.au/log/2005/05/script-comments
 # Stylesheets need to be referenced with an XML stylesheet declaration.Wrong!That's just one of the myths in the widely criticised Appendix C. This is done by creating a fragment identifier,
Slightly wrong terminology, a fragment identifier only occurs in a URI(after the #) which references an ID or an anchor in an (X)HTML document. for example id="myStyle" in each lt;stylegt; tag and reference this
 in the XML stylesheet declaration that goes above the DOCTYPE declaration in the format: ?xml-stylesheet href=""> type=text/css ?. Note that you will need this declaration for each
 stylesheet.This is unnecessary because any XML UA that recognises the id attributeas an ID must be either a validating parser or be an XHTML UA, in whichcase it will already recognise both the style and link elements, making
the xml-stylesheet PI unnecessary.If it is a validating parser, butnot an XHTML UA, the stylesheet would do much good anyway, because therewouldn't be any default UA stylesheet which would likely be depended
upon for the styles to work properly.There I was wondering how to send stylesheets via that PHP script (I don't actually know PHP lol) and it's actually optional(?) (ie) it would be better to write Stylesheets may be referenced with an XML stylesheet.
Lastly, there's one more issue that wasn't discussed which should have
at least been mentioned.By serving application/xhtml+xml, Mozillacannot yet incrementally render the document.It is a browserlimitation, there's nothing in the spec that prevents incrementalrendering in implementations, but it still needs to be considered for
practical reasons.If you have time, could you explain incrementally render please? 
--Lachlan Hunthttp://lachy.id.au/Feel free to add stuff to the comments, especially if you can link in a resource for further reference.
It's a MIME field out there (sorry) and the article is an attempt to
pull together a justified how-to for future projects as well as bring a
few people with me without diving too deep into specs. I'll do an update later today because clarity of summary is very important.Many Thanks!-- Karl DawsonCrusader for Web Standards and Accessibility
http://www.thatstandardsguy.co.uk--Accessites Team Member - http://www.accessites.org/
--The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.Tim Berners-Lee - W3C Director and inventor of the World Wide Web



Re: [WSG] content type etc

2006-01-15 Thread Karl Dawson
On 15/01/06, designer [EMAIL PROTECTED] wrote:
Hi All,More questions as I battle to understand stuff about headers and xhtml . . .snip--Best Regards,Bob McClellandCornwall (UK)
www.gwelanmor-internet.co.ukEven on a Sunday, you'll probably get a quick answer but tomorrow I will be publishing an article on that subject.Proper announcement tomorrow morning :-)
-- Karl DawsonCrusader for Web Standards and Accessibilityhttp://www.thatstandardsguy.co.uk--
Accessites Team Member - http://www.accessites.org/--The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.
Tim Berners-Lee - W3C Director and inventor of the World Wide Web


[WSG] All in the Head DTD feedback

2006-01-10 Thread Karl Dawson
Hi,

I am thinking to change:

A Document Type Definition is an XML schema language and defines a
set of declarations that conform to a particular markup syntax.

to simply read:

A Document Type Definition defines a set of declarations that conform
to a particular markup syntax.

It removes any confusion for both technical history buffs and
newcomers I feel. Let me know if that works for you or not.

Regards,
--
Karl Dawson
Crusader for Web Standards and Accessibility
http://www.thatstandardsguy.co.uk
--
Accessites Team Member - http://www.accessites.org/
--

The power of the Web is in its universality. Access by everyone
regardless of disability is an essential aspect.
Tim Berners-Lee - W3C Director and inventor of the World Wide Web


Re: [WSG] No Helpdesk software based on webstandards?

2006-01-10 Thread Karl Dawson
On 10/01/06, Samuel Richardson [EMAIL PROTECTED] wrote:
 If it's for internal use then you must have a fairly standard platform
 for it to run on (I'm guessing windows 2000 or XP machines with IE6) in
 that case web standards would be a fairly low priority as you have such
 a common interface to work with.

 Samuel
 http://www.seasonstravel.com.au

You are joking of course? What about *employees* present or future
with disabilities?


 Sander van Dragt wrote:

 Hello list,
 For the college I am working for I am looking for new helpdesk
 software for internal use on the college intranet. However I am unable
 to find any solution that's based on webstandards, the code on all
 software that we've come across is horribly and I would spent too much
 time cleaning up everything to consider it.
 
snipped

--
Karl Dawson
Crusader for Web Standards and Accessibility
http://www.thatstandardsguy.co.uk
--
Accessites Team Member - http://www.accessites.org/
--

The power of the Web is in its universality. Access by everyone
regardless of disability is an essential aspect.
Tim Berners-Lee - W3C Director and inventor of the World Wide Web
N���.�Ȩ�X���+��i��n�Z�֫v�+��h��y�m�쵩�j�l��.f���.�ץ�w�q(��b��(��,�)උazX����)��

[WSG] All in the Head: Document Type Definition

2006-01-09 Thread Karl Dawson
Dear All,Apologies if this is wanton self-promotion, let me know so I don't spam again next week ;-)All in the Head is 
a series of articles that I am publishing to concisely explain how and why to 
construct a high quality, web-standards compliant head section for a web page. 
The 
first article examines the Document Type Definition 
(DTD).http://www.thatstandardsguy.co.uk/2006/01/09/all-in-the-head-document-type-definitions/Comments, especially error-spotting and general bravo very welcome, it all helps with my work position.
Regards,-- Karl DawsonCrusader for Web Standards and Accessibilityhttp://www.thatstandardsguy.co.uk--
Accessites Team Member - http://www.accessites.org/--The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.
Tim Berners-Lee - W3C Director and inventor of the World Wide Web


[WSG] Document Type Definition

2006-01-09 Thread Karl Dawson
From: Martin Heiden [EMAIL PROTECTED]
Date: Mon, 9 Jan 2006 17:24:50 +0100
Subject: Re: [WSG] All in the Head: Document Type Definition

Christian,

on Monday, January 9, 2006 at 16:29 wsg@webstandardsgroup.org wrote:

 A Document Type Definition is an XML schema language and defines a
 set of declarations that conform to a particular markup syntax.

 Is this true for HTML DTD's? Are they XML as well?

IMHO it's not wrong, but very confusing. A DTD defines a
sort of schema, but DTDs aren't XML. They do the same, what can be
achieved with XML Schema, but in a different way.

Document Type Definitions were AFAIK first used by SGML and later
for defining XML and XHTML. Because of the limitations of the DTD
Language XML Schema has been developed. XML Schema is kind of
heavyweight so that many people use the simpler RELAX NG instead.

I think that Karl took that explanation from Wikipedia...

Yes I did :o
I was attempting to shield the reader (and myself lol) from the next
layer of geekiness down and concentrate more on the going forward with
the knowledge rather than it's roots overly much. Having said that,
could you (anyone) offer a neat sentence to clarify what I originally
said? That was the one part where I had to trust the source for it's
accuracy.


regards

 Martin


Regards,
--
Karl Dawson
Crusader for Web Standards and Accessibility
http://www.thatstandardsguy.co.uk
--
Accessites Team Member - http://www.accessites.org/
--

The power of the Web is in its universality. Access by everyone
regardless of disability is an essential aspect.
Tim Berners-Lee - W3C Director and inventor of the World Wide Web
N���.�Ȩ�X���+��i��n�Z�֫v�+��h��y�m�쵩�j�l��.f���.�ץ�w�q(��b��(��,�)උazX����)��