Re: [WSG] How do you cater to users with disabilities?

2011-08-26 Thread Chris Knowles
! -- Chris Knowles On 26/08/11 3:15 PM, Jay Tanna wrote: Personally I don't go out of my way to do anything special. I design the site as it comes and if some people can't access it - tough luck. There is no point in spending any additional time or money in buying specialist tools for people who

Re: [WSG] CSS support of HTML5 tags not ready yet?

2010-09-27 Thread Chris Knowles
try adding display: block - by default they are usually displayed as inline in ie you need to add them via javascript before it will recognise them: document.createElement(header); -- Chris Knowles On 27/09/10 8:13 PM, tee wrote: Only the two Webkit browsers are able to render the header

Re: [WSG] Getting my feet wet in HTML5

2010-08-13 Thread Chris Knowles
to have said that the content in article *might* be more relevant to a search engine than the content in aside - compared with div id=article and div id=sidebar which would be harder to tell apart. -- Chris Knowles *** List

Re: [WSG] Getting my feet wet in HTML5

2010-08-12 Thread Chris Knowles
your page dependent on javascript. Without it some elements will be styled in IE, some won't (the above comes from Introducing HTML5 by Remy Sharp and Bruce Lawson) -- Chris Knowles On 13/08/10 6:38 AM, Tom Livingston wrote: List, Here's a theory question ( i think) for ya. I'm working

Re: [WSG] Using a dot . in a class name

2010-03-11 Thread Chris Knowles
I would have thought the problem would be when you want to use it in a stylesheet... .ratingL-4.5 {...} presumably a browser will read this as two classes. But if it's purely there for something like javascript to grab hold of and interpret it should be ok -- Chris Knowles Jens-Uwe

Re: [WSG] Data URI encoder

2010-02-10 Thread Chris Knowles
gain? -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***

Re: [WSG] Strange Table Border Rendering in everything BUT FF and IE

2009-09-26 Thread Chris Knowles
think table cellspacing=0 class=guestBook trtdnbsp;/td/tr should be... table cellspacing=0 class=guestBook trtd colspan='2'nbsp;/td/tr -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm

Re: [WSG] web hosting

2009-09-04 Thread Chris Knowles
. As others have stated, the problem you have is the technologies you require have expensive licenses and so free hosting is going to be hard to come by. But if you confirm it's only a small site, maybe someone out there has a bit of spare space? -- Chris Knowles

Re: [WSG] JavaScript and Accessibility

2009-01-20 Thread Chris Knowles
Chris Taylor wrote: From: Chris Knowles I wouldn't be waiting for ARIA to get out of draft before using it :) It has pretty good support in browsers already so get stuck in. And because essentially all you are doing with ARIA is adding attributes to tags, the worst that can happen is your

Re: [WSG] JavaScript and Accessibility

2009-01-20 Thread Chris Knowles
. So do they get notified that you've injected ARIA attributes? -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh

Re: [WSG] JavaScript and Accessibility

2009-01-19 Thread Chris Knowles
attributes to tags, the worst that can happen is your pages no longer validate - but who cares if you are making them more accessible? -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http

Re: [WSG] Google chrome...

2008-09-04 Thread Chris Knowles
Nancy Gill wrote: I can't figure out why it has to load the process three times in order to run. the google explanation: http://blogoscoped.com/google-chrome/3 -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org

Re: [WSG] input type image

2008-07-14 Thread Chris Knowles
empty? you could use: button type='submitspanSubmit/span/button then shift the span off the page and style the button with a sprite - this gets around having an empty value -- Chris Knowles *** List Guidelines: http

Re: [WSG] Link Help please

2008-06-04 Thread Chris Knowles
/ link rel=alternate stylesheet type=text/css media=screen title=larger Font size href(layout_large.css) / What am I doing wrong? The web site will not use the layout.css file. The default directory is http://www.choroideremia.org/new/. try href= not href() -- Chris Knowles

Re: [WSG] WCAG 2 implementation site

2008-03-11 Thread Chris Knowles
access keys becoming useful is if user agent vendors agree on and implement some kind of name-spacing scheme for author defined keys to prevent conflicts -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail

Re: [OBORONA-SPAM] Re: [WSG] Styling forms

2008-02-08 Thread Chris Knowles
natural choice. Hence, maybe thats where this using lists in forms has come from? -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help

Re: [WSG] Styling forms

2008-02-07 Thread Chris Knowles
with javascript libraries that have re-ordering of elements by drag and drop that tend to work mainly on lists. Therefore lists are useful to wrap form elements if you are creating form building software so the form elements can be easily reordered by non-technical users. -- Chris Knowles

Re: [OBORONA-SPAM] Re: [WSG] Styling forms

2008-02-07 Thread Chris Knowles
Joe Ortenzi wrote: I would have thought so. Isn't that what the id attribute is used for? Something for JavaScript to reference? Chris Knowles wrote: CK from what I can see the reason lists have come into use in forms has a CK lot to do with javascript libraries that have re-ordering

Re: [WSG] This IE8 controversy

2008-01-30 Thread Chris Knowles
and simple for one group of people to do is somehow a huge task for the other group? -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm

Re: [WSG] This IE8 controversy

2008-01-29 Thread Chris Knowles
for me or anyone else. Except for Microsoft of course, by allowing them to do the right thing at last and create a decent browser while at the same time not doing the right thing and ignoring the mess they created. -- Chris Knowles

Re: [WSG] This IE8 controversy

2008-01-29 Thread Chris Knowles
Chris Broadfoot wrote: Chris Knowles wrote: I don't see how opting-in to standards by adding a meta tag does anything for me or anyone else. Except for Microsoft of course, by allowing them to do the right thing at last and create a decent browser while at the same time not doing

Re: [WSG] This IE8 controversy

2008-01-29 Thread Chris Knowles
so wrong with adding an HTTP header or a meta tag to say 'use IE7' ? -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL

Re: [WSG] This IE8 controversy

2008-01-29 Thread Chris Knowles
of the tenets of good web development that we embrace forwards compatibility and not backwards compatibility. I think what they are doing flies in the face of this. -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail

Re: [WSG] Usability for downloading documents

2008-01-28 Thread Chris Knowles
resource and takes a while to download or if it's a slow connection, or potentially crashing your browser if it freezes and you start hitting the back button etc in an attempt to undo your action. -- Chris Knowles *** List

Re: [WSG] Where did I come from?

2008-01-21 Thread Chris Knowles
can be changed along the response chain from server to client they can't be relied upon. -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join

Re: [WSG] Where did I come from?

2008-01-21 Thread Chris Knowles
Chris Knowles wrote: Sarah Peeke wrote: Hi Martin and others, On 19/1/08 1:45 AM, Martin Heiden wrote: 2. HTTP-Header Referrer - may be supressed by proxies/firewalls or the user You can access it via (PHP|Java|ASP|...) or by JS document.referrer Just out of interest, what happens when

Re: [WSG] semantic list with explanations

2008-01-10 Thread Chris Knowles
David Hucklesby wrote: On Wed, 09 Jan 2008 18:13:13 +1100, Chris Knowles wrote: because thats a different issue. Its an issue of the user not upgrading to software thats available and thats better. ... Just one niggle here. The user might well be using a computer at work, school

Re: [WSG] semantic list with explanations

2008-01-10 Thread Chris Knowles
to standards (why would I be here otherwise?), if that means using heading and paragraph tags instead of dl's then so be it. And I don't think it's right to use these client websites as a means to make a stand against user agent vendors if it means sacrificing any of that usability. -- Chris Knowles

Re: [WSG] semantic list with explanations

2008-01-08 Thread Chris Knowles
. I don't think theres any rules about the length of definitions? If the list has a specific order, as you've shown, then I would say use an ordered list, if not a definition list -- Chris Knowles *** List Guidelines: http

Re: [WSG] semantic list with explanations

2008-01-08 Thread Chris Knowles
care about the user experience, use headings. or if it has a specific order, use headings and paragraphs inside an ordered list -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe

Re: [WSG] semantic list with explanations

2008-01-08 Thread Chris Knowles
users first and foremost and then lobby the vendors is a better approach. -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help

Re: [WSG] semantic list with explanations

2008-01-08 Thread Chris Knowles
and that solution is fine, but looking at the code, it seems to me you've gone to a hell of a lot of trouble - personally I would have just used different markup. But seeing as you've already written it, then it's a good solution. -- Chris Knowles

Re: [WSG] Behavior Effecting Presentation or Structure - Precedence?

2008-01-07 Thread Chris Knowles
a choice. e.g. in your example you would need to use both methods to cover a) and b): a) would need you to set the style to display: none and b) would need you to try and remove the node -- Chris Knowles *** List Guidelines: http

Re: [WSG] Behavior Effecting Presentation or Structure - Precedence?

2008-01-07 Thread Chris Knowles
= document.getElementById ? true : false; and then... if (DOM) { ... } email me direct if you want to discuss as it's probably off topic by now. -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm

Re: [WSG] Lists CSS

2007-12-27 Thread Chris Knowles
; padding: 0; } then add back in the required amounts -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***

Re: [WSG] Preventing copying of text from web page.

2007-12-21 Thread Chris Knowles
a small disclaimer to the bottom of every page stating the terms conditions. -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help

Re: [WSG] Preserve whitespace

2007-12-12 Thread Chris Knowles
generate the HTML with the right amount of space in it like: tdcontent/td the browser will only display one of the spaces in the above but they will still remain in the source - they won't be stripped out at any stage or have I misunderstood your question? -- Chris Knowles

Re: [WSG] Input tag - closing tag optional?

2007-11-20 Thread Chris Knowles
-- form control -- Now, I read that as closing tag optional. So I am wrong. Or am I? Hi David, there's no closing tag input / is XHTML input is HTML -- Chris Knowles *** List Guidelines: http

Re: [WSG] Idiot's guide to JavaScript

2007-11-14 Thread Chris Knowles
Rob Mason wrote: I am looking for a really basic, plain English guide to JavaScript. I highly rate this book - easy to read and understand: http://www.quirksmode.org/book/ -- Chris Knowles *** List Guidelines: http

Re: [WSG] Testing emails for Outlook 2007

2007-11-07 Thread Chris Knowles
! I was going to suggest the same - and they also have free templates that are already tested: http://www.campaignmonitor.com/resources/templates.aspx -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail

Re: [WSG] Styling option [Forms]

2007-11-04 Thread Chris Knowles
not change. Basically i want to center (vertically) the default option in a select box. Hi James you can get varying results by setting text-align: center on the select itself and on the option elements but not in IE - I don't think theres any way to control it in IE at all. -- Chris Knowles

Re: [WSG] z-index problem with dropdown menu

2007-11-04 Thread Chris Knowles
obviously missing? :? I can see this but I'm not sure if you're obviously missing it or not: http://www.saxleather.com.au/index.php?page=homesubrange=nipple%20clamps but I can also see that it's a site that not everyone on the list may appreciate ;) -- Chris Knowles

Re: [WSG] z-index problem with dropdown menu

2007-11-04 Thread Chris Knowles
it comes after the dropdown in the source some browsers may assume it should have a higher z-index than the dropdown so it may help to set it lower. -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail

Re: [WSG] Re: WSG Digest

2007-10-29 Thread Chris Knowles
Simon Cockayne wrote: Have you come across this flickering problem...is there a better way? Can I remove the DOM elements before they are displayed? Hi Simon you need this... http://dean.edwards.name/weblog/2006/06/again/ -- Chris Knowles

Re: [WSG] Re: WSG Digest

2007-10-29 Thread Chris Knowles
Chris Knowles wrote: you need this... http://dean.edwards.name/weblog/2006/06/again/ in fact, I incorporated this into my own library - I found the order in which the code tests the different browsers to matter - I think if I remember rightly I had an issue with safari on windows

Re: [WSG] CSS Help

2007-10-23 Thread Chris Knowles
Olajide Olaolorun wrote: It doesnt work :( I just tried it now... placed it in the default.css On 10/23/07, Tim MacKay [EMAIL PROTECTED] wrote: #sidebar a img {border: none} I haven't looked at your code but you mentioned it not displaying a border on hover so presumably you need this:

Re: [WSG] CSS Help

2007-10-23 Thread Chris Knowles
Chris Knowles wrote: #sidebar a:hover img {border: none} I had a look at your code! - try this: #sidebar .one-image a:hover { border: 0 !important; } in your code you used: #sidebar a:hover,.blogfoot a:hover{ border:1px solid #FFF !important; } because tou used important

Re: [WSG] CSS Help

2007-10-23 Thread Chris Knowles
Chris Knowles wrote: Chris Knowles wrote: #sidebar a:hover img {border: none} I had a look at your code! - try this: #sidebar .one-image a:hover { border: 0 !important; } Olajide, because you are resetting a border of 1px to 0 the image will probably move so you may need

Re: [WSG] CSS Help

2007-10-23 Thread Chris Knowles
of a list an extra rule may be required for them the solution I have given above may add an extra rule but it solves the problem without tampering with the existing css - so it's not necessarily clear which solution is better -- Chris Knowles

Re: [WSG] Re: WSG Digest

2007-10-20 Thread Chris Knowles
you could clarify this? -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***

Re: [WSG] Encoded mailto links

2007-10-19 Thread Chris Knowles
saves the address and reuses it later it may bounce. Anyway, just an idea to try and tackle the issue differently. -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http

Re: [WSG] Encoded mailto links

2007-10-19 Thread Chris Knowles
= html_entity_decode($html); now $html contains plain email addresses - with one line of code surely any harvester performs this operation first? -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm

Re: [WSG] Encoded mailto links

2007-10-19 Thread Chris Knowles
/... or http://.../com/au/... or whatever at some stage and attempt to construct an email address from it. -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-17 Thread Chris Knowles
Nick Fitzsimons wrote: Word boundaries aren't right either; for exmple, they will match a hyphen, so matching on some-thing will match some-thing-else. As per the HTML spec, class names are space-separated, so you need to match on spaces and the beginning or end of the string. of course,

Re: [WSG] Encoded mailto links

2007-10-17 Thread Chris Knowles
Rick Lecoat wrote: can anyone tell me what is the best accessible way (if any) of encoding a mailto: link? I want to make the email addresses on a site usable to screen reader users, but don't want them harvested by spambots. Javascripted solutions seem like they would create a headache

Re: [WSG] Encoded mailto links

2007-10-17 Thread Chris Knowles
Rick Lecoat Is there a way out what seems, to my inexperienced eyes, like a catch-22 situation? Patrick Lauke wrote: Fix your spam issues at the mail server + mail client end, not at the web page end, would be my advice. This is good advice and raises the question of whether theres

Re: [WSG] Encoded mailto links

2007-10-17 Thread Chris Knowles
spam issues at the mail server + mail client end -- Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-17 Thread Chris Knowles
Nick Fitzsimons wrote: On 17 Oct 2007, at 13:47, Chris Knowles wrote: Nick Fitzsimons wrote: Word boundaries aren't right either; for exmple, they will match a hyphen, so matching on some-thing will match some-thing-else. As per the HTML spec, class names are space-separated, so you need

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Chris Knowles
: header(Content-type: application/pdf); header(Content-Disposition: inline); readfile('test.pdf'); So I'd recommend a link with a pdf icon and the file size and then set the headers as in the first example Chris Knowles *** List

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Chris Knowles
= It's not just you! - Very insecure - breaks all the rules Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Chris Knowles
submitting code. Chris Knowles *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Chris Knowles
Paul Minty wrote: I'd like to see a microformat for this, and an external javascript, so that people who author these links without the aid of server side scripting can develop this user experience easily. Anyone seen anything like that? Cheers Paul heres a generic javascript function

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Chris Knowles
Kit Grose wrote: Just a note: Your function doesn't currently use the RegExp function for anything useful (you might as well use indexOf). RegExp is the right way to do it, though, so you can enforce word boundaries to match complete classNames only (if I want all a.pop to be new window

Re: [WSG] IE extra space; background not showing up; odd links

2005-04-29 Thread Chris Knowles
For validation I suggest download the web developer extension for Firefox from... https://addons.update.mozilla.org/extensions/showlist.php?application=firefoxcategory=Developer%20Toolsnumpg=10pageid=3 It's a toolbar you can validate the current page with, disable style sheets and javascript

Re: [WSG] best practice?

2005-04-28 Thread Chris Knowles
This works well... body { text-align: center; } #container { margin: 0 auto; text-align: left; } But so does this... #container { position: absolute; top: 0; left: 50%; width: 60em; margin-left: 0 0 0 -30em; } -- Chris Knowles