RE: [WSG] Safari Javascript prob?

2006-04-10 Thread Geoff Pack
CK wrote: Safari does not like the JS pseudo protocol. What version are you using? It works in Safari 1.3 and 2.0 cheers, Geoff. == The information contained in this email and any attachment is confidential and

RE: [WSG] Cleaner Markup

2006-05-03 Thread Geoff Pack
threerandot wagner wrote: I have a Benny Hill website and I am in the process of developing cleaner code. Dirty code is probably appropriate for a Benny Hill website. Sementically correct and all that... ;) ==

RE: [WSG] Accessibility and Browsers (N4.x)

2006-05-15 Thread Geoff Pack
Katrina wrote: Is it recommended to continue to use work-arounds to ensure accessibility in older browsers? What work-arounds? Just filter your stylesheets to prevent older browsers seeing them, and you're done. I use a two step stylesheet to do this: html: link rel=stylesheet

RE: [WSG] Mac and CSS

2006-05-21 Thread Geoff Pack
Ben Buchanan wrote: The way it renders things is so incompatible with modern browsers that basically you end up redoing your CSS entirely to get IE5.2 to work (using a hack to send IE5.2 a tailored stylesheet). So unless you're being paid by the hour, just don't... I wouldn't go that

RE: [WSG] Testing CSS: Map Pop

2006-06-20 Thread Geoff Pack
What is the problem with using an image map and javascript for this sort of thing? By using lists and hover states you've limited yourself to rectangular hotspots, and haven't really gained anything as far as I can see. You've also lost any ability to have links in the little pop-ups,

RE: [WSG] Testing CSS: Map Pop

2006-06-21 Thread Geoff Pack
Mike at Green-Beast.com wrote: It's a CSS experiment. It's not a matter of just having to get something done. I wanted to challenge myself with trying to combine two CSS goodies. An independent solution without JS. That's great - it's a nice bit of code and it works well. I just

RE: [WSG] Alphabetical Listing Buttons

2006-07-11 Thread Geoff Pack
Clearly neither of you are power shoppers. What you need is a table, with columns for rating importance, quantity, unit price, total price, shelf location and shelf-life. Then you need a script to sort your table on the fly by any category. By the way, if you add Flour you can make banana

RE: [WSG] Alphabetical Listing Buttons

2006-07-11 Thread Geoff Pack
And a form that allows you to add new items. Could use DOM scripting to insert the new items into the table - I think a database back-end is probably overkill... Joshua Street wrote: On 7/12/06, Geoff Pack [EMAIL PROTECTED] wrote: Clearly neither of you are power shoppers. What you need

RE: [WSG] Offtopic Multiple Image rollover

2006-07-12 Thread Geoff Pack
Michael Persson wrote: I have a problem to solve a little problem, I have asked before for a background swap function and the only one i have found is what i am using. i am using an Iframe for this. Now i also have another Image or DIV that need to appear on the same rollover. Hi

RE: [WSG] Offtopic Multiple Image rollover

2006-07-13 Thread Geoff Pack
Michael Persson wrote: If you read my messages you can see that im not talking about background color, im talking about background-images anyway there is no funtion to swith that what so ever so i will have to rebuild the pages anyway.. You can lead a horse to water... Try this:

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] Support for IE5/Mac? (was Browser stats)

2006-08-02 Thread Geoff Pack
Sunny wrote: I know how to prevent v.4 browsers from getting my styles, but how do I stop IE5/Mac from getting them?? All I know how to do is to give them something different, not how to exclude them entirely. see: http://centricle.com/ref/css/filters/ @import url('styles.css'); /*

RE: [WSG] Support for IE5/Mac? (was Browser stats)

2006-08-02 Thread Geoff Pack
SunUp wrote: It's the Mac problem. There's no way my department's budget will extend to purchasing an old Mac just for testing purposes, and even if that happened, I'd then have a fight on my hands with our IT department about network points and security issues. If I was in that

RE: [WSG] CSS blocked (Was: should ebay listing alike be tabular layout?)

2006-08-07 Thread Geoff Pack
It's just a bluff - keep srolling and you'll see everything there is to see. Geoff. == The information contained in this email and any attachment is confidential and may contain legally privileged or copyright

RE: [WSG]

2006-08-08 Thread Geoff Pack
Nishak wrote: scriptdocument.write(img src=\+imageName2+\ width=\475\ height=\137\);/script The error is in the quotes. Try: document.write('img src='+imageName2+' width=475 height=137'); (mixing single and double quotes is a bit easier to read) cheers, Geoff

[WSG] Opera 9 Bug

2006-08-25 Thread Geoff Pack
Just discovered using an escaped comment end hack in an inline style will break in Opera 9 unless it is followed by a semicolon or another style. E.g. p style=color:blue; /*\*/ color:red; /**/ /*\*//*/ color:green; /**/Some text.../p * Will be green for Mac IE 5 * Will be red for all other

RE: [WSG] quick question

2006-09-14 Thread Geoff Pack
Ted Drake wrote: I'm working on a hack and need to know what the default colors are, when you remove all css. I completely forget. I need a, a;hover, a:visited, and a:active. Blue, none, purle, red - the exact shades vary between browsers Netscape 3: a: #EE hover: - visted:

[WSG] Opera Mini and lists

2006-09-14 Thread Geoff Pack
Why does Opera mini not render lists properly? http://www.abc.net.au/parents/lists.htm Opera 9 in small screen view shows lists correctly, but opera mini doesn't indent or number/bullet the lists. (I only tested the simulator http://www.opera.com/products/mobile/operamini/demo.dml.) Without

RE: [WSG] Opera Mini and lists

2006-09-17 Thread Geoff Pack
David Storey wrote: On 15 Sep 2006, at 05:36, Geoff Pack wrote: Why does Opera mini not render lists properly? http://www.abc.net.au/parents/lists.htm Opera 9 in small screen view shows lists correctly, but opera mini doesn't indent or number/bullet the lists. (I only tested

RE: [WSG] Opera Mini and lists

2006-09-18 Thread Geoff Pack
David Storey wrote: ... It is also cheaper to surf on phones as all processing is done server side and a compressed binary is sent to the phone. Less data is sent to the phone and the phone doesn't have to do and there is no complex processing on the phone. Does this mean the problem

RE: [WSG] The usability of a frame-style layout

2006-09-26 Thread Geoff Pack
I agree with your sentiments, but frames are not needed anymore - all recent browsers will allow you to add the nav content via the object tag. E.g. object id=nav data=nav.html type=text/htmlFallback navigation here.../object Combine with 'position:fixed' ('position:absolute' for IE) on the

RE: [WSG] two-headed babies look OK

2006-11-22 Thread Geoff Pack
Franky, I admire the attempts to subvert an obviously broken publishing system. Maybe you are fixing the wrong problem. In terms of web standards, what is to stop the developers simply pasting an iframe or an object tag into the table cell, and doing the same thing with perfectly valid code?

[WSG] PNGs in CSS background images in IE6

2006-11-27 Thread Geoff Pack
Has anyone had any success using AlphaImageLoader with PNGs in CSS background images in IE6? Any foreground links over the PNG are broken (not clickable), and the fixes I found through Google aren't doing the job. Any ideas? thanks, Geoff

RE: [WSG] positioning and rollovers

2006-11-27 Thread Geoff Pack
Teresa, I think the problem here is that your anchor tags are empty, and without display:block, there is nowhere to click, and so nowhere for the hover effect to take place. Note that there is also no page content - if you view the page with CSS turned off the page is completely empty. No

RE: [WSG] PNGs in CSS background images in IE6

2006-12-03 Thread Geoff Pack
One further thing I noticed. The URL of CSS behaviours (in IE) is relative to the parent HTML page, not the CSS file. e.g. http://abc.net.au/test/png/ has five files: default.htm styles/logo2.png styles/screen.css styles/background.jpg

RE: [WSG] Re: digest for wsg@webstandardsgroup.org

2006-12-17 Thread Geoff Pack
Thierry Koblentz wrote: Erwin Heiser wrote: !--[if gt IE 6] link rel=stylesheet href=ie7.css media=screen ![endif]-- !--[if lte IE 6] link rel=stylesheet href=ie6.css media=screen ![endif]-- Why not going with !--[if IE 7] rather than !--[if gt IE 6] That way you don't have to

RE: [WSG] Smallest valid html document (was validator.w3.org broken?)

2007-02-02 Thread Geoff Pack
Rimantas wrote: That's not minimal document. This one is: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN title./titlep. Strictly speaking, the p is optional - you only need a title and some content The shortest document I could get to validate is: !DOCTYPE HTML PUBLIC -//X//DTD

RE: [WSG] Smallest valid html document (was validator.w3.org broken?)

2007-02-04 Thread Geoff Pack
Yes. But I'm not sure if it's semantically correct. -Original Message- Barney Carroll wrote: But is it accessible? == The information contained in this email and any attachment is confidential and may

RE: [WSG] is html done? [was semantics]

2007-02-08 Thread Geoff Pack
Designer wrote: Wouldn't it be nice if we could get browsers to interpret ^ (or something) as meaning 'div id=' (and something else for 'class='). Then we could have, xml style code, such as: ^pageborder ^content blah blah /content /pageborder MUCH more readable, and

RE: [WSG] is html done? [was semantics]

2007-02-08 Thread Geoff Pack
Nick Fitzsimons wrote: On the other hand, browser support is fairly restricted and can be buggy, especially if you plan to use any DOM Scripting/Ajax type stuff. Well, yes, but it's a lot better than XHTML 2 support ;) For real-world usage, you're better off doing the transformation