Re: [WSG] Link spacing in UL

2006-07-19 Thread Tony Crockford
Paul Bennett wrote: What about using a definition list? Thanks, but A) it's a pig to style (I can't seem to get each di to display as a list item for a start B) it's not really a definition list, semantically is it really a list item? given that you have a full paragraph of text and a link

Re: [WSG] Image Replacement

2006-07-19 Thread Thierry Koblentz
Paul Bennett wrote: >> Paul, >> If you're using an img element already, you may want to try this: >> http://www.tjkdesign.com/articles/tip.asp > > Thanks Thierry, but (unless I'm mistaken) I'd need a separate style > rule for each page containing an H1, as all the images are a > different size. Yo

RE: [WSG] Link spacing in UL

2006-07-19 Thread Paul Bennett
>What about using a definition list? Thanks, but A) it's a pig to style (I can't seem to get each di to display as a list item for a start B) it's not really a definition list, semantically I got the anchors in the ul to work using this: ul#private li a { display: block; margin

RE: [WSG] Image Replacement

2006-07-19 Thread Paul Bennett
>Paul, >If you're using an img element already, you may want to try this: >http://www.tjkdesign.com/articles/tip.asp Thanks Thierry, but (unless I'm mistaken) I'd need a separate style rule for each page containing an H1, as all the images are a different size. My current solution is working fin

Re: [WSG] Image Replacement

2006-07-19 Thread Thierry Koblentz
Paul Bennett wrote: > Hi all, > > I'm fighting through the wads of info (and opinions) out there about > CSS image replacement. > > I'm concerned that using CSS like: > text-indent: -9000px; > may get our site penalised by search engines. > > Feeling overly pragmatic, I added the following to a

Re: [WSG] Need help with vertical "accordian" menu

2006-07-19 Thread Thierry Koblentz
morten fjellman wrote: > Hi, > I need to make a menu (link to image: > http://www.fjellman.no/test/meny.gif ) that does what the linked > image describes. The idea is to have the id of the body determine > what menu item is active and then reveal the links under that item. I > was hoping to do this

Re: [WSG] Image replacement and printing

2006-07-19 Thread Thierry Koblentz
Ryan Sabir wrote: > Hi all, > > We've just been investigating using Fahrner Image Replacement, or one > of its more accessibility friendly derivatives, when we came across > the problem of printing. > > It seems that in IE the default option is to not print background > images and colours. So a p

Re: [WSG] Link spacing in UL

2006-07-19 Thread Ben Wong
On 20/07/06, Paul Bennett <[EMAIL PROTECTED]> wrote: Hi all, I'm trying to achieve the following: - * list item - loads of text here. loads of text here.loads of text here. loads of text here.loads of text here.loads of text here.loads of text here. http://link.here

[WSG] Link spacing in UL

2006-07-19 Thread Paul Bennett
Hi all, I'm trying to achieve the following: - * list item - loads of text here. loads of text here.loads of text here. loads of text here.loads of text here.loads of text here.loads of text here. http://link.here -- (note the line break between th

Re: [WSG] Preparing accessibility policies/standards in readiness for WCAG2.0

2006-07-19 Thread Ben Buchanan
I'm interested in the experiences of other universities/organisations preparing internal accessibility policies or standards in readiness for WCAG2.0. At this stage I'm taking the "wait and see" approach. If you were to update your policies/standards, what would be the major changes? Realist

RE: [WSG] Adding css files from JavaScript?

2006-07-19 Thread Geoff Pack
Janette Girod > > This is the code I tested: > var new_ss = document.createElement('link'); > new_ss.setAttribute('href','extra.css'); > new_ss.setAttribute('rel','stylesheet'); > document.getElementsByTagName('head')[0].appendChild(new_ss); > > It works in Win/IE5+, FF 1.5, Opera 9, Netscape 7

RE: [WSG] Site check - take two !

2006-07-19 Thread Joe
Felix, Why is it that every discussion with your name attached seems to contain a rude comment? Rachel had already stated the fact that it did not look right in FireFox. Please provide constructive criticism next time. > -Original Message- > From: listdad@webstandardsgroup.org [mailto:[

Re: [WSG] Preparing accessibility policies/standards in readiness for WCAG2.0

2006-07-19 Thread Mike at Green-Beast.com
Scott wrote: >> WCAG2.0 is still in draft but if you were to >> start updating your existing policies/standards, >> what would your priorities be? Mike wrote: > At this point in time I have no intention of even > acknowledging the existence of WCAG 2 [...] No argument from me, Mike. To answer you

Re: [WSG] Adding css files from JavaScript?

2006-07-19 Thread Janette Girod
Sorry, I should have given a more complete reply. "Perfectly" doesn't really help! This is the code I tested: var new_ss = document.createElement('link'); new_ss.setAttribute('href','extra.css'); new_ss.setAttribute('rel','stylesheet'); document.getElementsByTagName('head')[0].appendChild(new_ss)

Re: [WSG] Adding css files from JavaScript?

2006-07-19 Thread Jan Brasna
append it to the HEAD? Doesn't work in Safari. Sorry, this is true for appending JS files via DOM (don't know the situation with CSS files) ... my bad. The next time I'll read the whole question properly ;) -- Jan Brasna :: www.alphanumeric.cz | www.janbrasna.com | www.wdnews.net ***

RE: [WSG] Preparing accessibility policies/standards in readiness for WCAG2.0

2006-07-19 Thread michael.brockington
If no-one else is going to answer, then (at the risk of starting a war) I will: At this point in time I have no intention of even acknowledging the existence of WCAG 2 I don't understand the rationale behind the main changes, and don't think that anyone in WCAG understands how their guidelin

Re: [WSG] Adding css files from JavaScript?

2006-07-19 Thread Jan Brasna
Can you not just create a new LINK element and give it an HREF, then append it to the HEAD? Doesn't work in Safari. For Safari you have to simply output the whole '' strings to the document. -- Jan Brasna :: www.alphanumeric.cz | www.janbrasna.com | www.wdnews.net **

Re: [WSG] are transitional doctypes quickmode

2006-07-19 Thread Gunlaug Sørtun
Tee G.Peng wrote: I always thought transitional doctypes are quirkmode but today I was told it's not, the quirkmode is when a page has no doctype declared. All 'doctype vs. modes' are listed here: Georg -- http://www.gun

Re: [WSG] Adding css files from JavaScript?

2006-07-19 Thread Seb Frost
I've got a feeling this won't work - not based on anything concrete, but I'm sure I've tried it before (quite a while ago though) and had no luck. Let me know if it works out for you Janette! On 19/07/06, Matthew Pennell <[EMAIL PROTECTED]> wrote: On 7/19/06, Matthew Pennell <[EMAIL PROTECTED]>

Re: [WSG] Adding css files from JavaScript?

2006-07-19 Thread Janette Girod
Worked perfectly. Thank you Matthew! --- Matthew Pennell <[EMAIL PROTECTED]> wrote: > On 7/19/06, Matthew Pennell > <[EMAIL PROTECTED]> wrote: > > var new_ss = document.createElement('link'); > > new_ss.setAttribute('href','css/extra.css'); > > > document.getElementsByTagName('head')[0].appendCh

RE: [WSG] Anti-aliassing a font

2006-07-19 Thread Hrvoje Markovic
not at the moment. "Anti-aliasing might have been added to CSS 3 (I haven't checked), but most browser vendors will probably be concentrating on finishing support for CSS 2 (or 2.1)" From: "Bas V" <[EMAIL PROTECTED]> Reply-To: wsg@webstandardsgroup.org To: wsg@webstandardsgroup.org Subject: [

Re: [WSG] Adding css files from JavaScript?

2006-07-19 Thread Matthew Pennell
On 7/19/06, Janette Girod <[EMAIL PROTECTED]> wrote: Hi guys, Is there a way add style sheets to a document from within a JavaScript file? Can you not just create a new LINK element and give it an HREF, then append it to the HEAD? var new_ss = document.createElement('link'); new_ss.setAttribu

Re: [WSG] Adding css files from JavaScript?

2006-07-19 Thread Matthew Pennell
On 7/19/06, Matthew Pennell <[EMAIL PROTECTED]> wrote: var new_ss = document.createElement('link'); new_ss.setAttribute('href','css/extra.css'); document.getElementsByTagName('head')[0].appendChild(new_ss); ...and a rel="stylesheet" attribute as well, of course...

Re: [WSG] Need help with vertical "accordian" menu

2006-07-19 Thread Nello Lucchesi
You may want to look a the JavaScript in the Suckerfish dropdown menus for ideas on getting the hover pseudo class to work on IE: http://www.htmldog.com/articles/suckerfish/dropdowns/ You may also like to review these "canned" menus for ideas: http://css.maxdesign.com.au/index.htm Hope t

[WSG] Adding css files from JavaScript?

2006-07-19 Thread Janette Girod
Hi guys, Is there a way add style sheets to a document from within a JavaScript file? I know that there is a document.styleSheet array that I can access, but the W3C specs say that document.styleSheet[i].href is a read-only property, so I can't add an existing stylesheet into this array. Is the

Re: [WSG] quirks mode and font size inheritance

2006-07-19 Thread Felix Miata
On 06/07/19 03:04 (GMT-0400) Tee G.Peng apparently typed: > I came up with examples to prove my point. > http://lotusseedsdesign.com/sapotek/group-px.gif > and their respective pages: > http://lotusseedsdesign.com/sapotek/xhtml-strict-dtd-px.html > http://lotusseedsdesign.com/sapotek/xhtml-tran-dt

[WSG] quirks mode and font size inheritance

2006-07-19 Thread Tee G . Peng
Hi, regarding my previous message, are transitional doctypes quirks mode - lo and behold! I finally got it collect, I would like to get enlightenment from you knowledgeable ones about quirks mode and font size inheritance. The quest came from a discussion from a CSS study group. Someone p