RE: [WSG] Other character sets/languages
Hello Lea, I note that you used incorrect syntax for your CSS declarations - ending declarations with ':' rather than ';'. I assume this is just a typo in this message, rather than the potential source of the problems you had, since in a CSS file it would generally cause the declaration to fail. RI Richard Ishida W3C contact info: http://www.w3.org/People/Ishida/ W3C Internationalization: http://www.w3.org/International/ Publication blog: http://people.w3.org/rishida/blog/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lea de Groot Sent: 21 February 2005 21:05 To: wsg@webstandardsgroup.org Subject: RE: [WSG] Other character sets/languages On Mon, 21 Feb 2005 09:43:40 -, Richard Ishida wrote: In any case you should always finish a font-family declaration with 'serif' or 'sans-serif' in this situation. Then if none of the fonts you indicated are on the user's system, a font that they do have will be used. Caveat alert! Errr, sort of an inverse caveat, if you take this too far. I had a site where I thought 'I do not care what font this part appears in, let them choose which serif font it has and used: #block {font-family: serif: } Bad move :( Some versions of IE (some V6 variant IIRC) showed a lovely set of black square blocks instead of text. :( We checked the browser and it didn't have a bizarre selection as its default font. Changing the declaration to a simple: #block {font-family: Times, serif: } fixed the problem. FYI Lea -- Lea de Groot Elysian Systems - I Understand the Internet http://elysiansystems.com/ Search Engine Optimisation, Usability, Information Architecture, Web Design Brisbane, Australia ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Standards and site structuring
Well, for the URL design bit, I wrote a page about it a while ago, and this is the condensed version. Aside from URLs I think there's a convention that clicking on the logo of a site goes to the homepage. And it's popular to use an accesskey of ? to go to the search engine. Nothing else comes to mind though. // Designing URLs URLs should be simple, concise, and designed to last forever - reflecting the page's content and hiding the implementation. The days of an URL mapping directly to a file are gone. Instead people treat the URL like a command line - passing variables to a script that assembles a page - ending up with a bloated, confusing, and forgettable URL like http://somesite.com/book/9/index.php?anidifranco=neatojeffk=hackerslashdot=funnypoint=taken Filename extensions As browsers ignore filename extensions (.php, .jsp, .asp) it is unnecessary and detrimental to use them on the web (instead use MIME types). The URL becomes a legacy to uphold when users and search engines expect to find pages at that URL - especially when the URL is bound to a piece of software that may no longer be in use (such as .php3, .asp, or even .html). Changing the backend system now involves breaking the legacy or making a convoluted redirection scheme... to the new technology that - in the future - you'll have to redirect from again. A good URL, I think, should abstract from technical implementation. That said, browsers don't often reattach file extensions if they weren't given them in the first place so if the file is for download (rather than in-browser viewing) it's probably ok. Also, IE sometimes ignores mimetypes http://msdn.microsoft.com/workshop/networking/moniker/overview/appendix_a.asp *. So it's usually more practical to remove file extensions only for html. Certainly .asp should never appear in the URL. Apache's mod_rewrite URL Rewriting Engine can map external URLs to a different internal file (/about/tauranga to /about/tauranga.html). This allows you to hide the file extension. In three years XHTML will be much more popular but i'm sure that will eventually have a successor too - so serving .html is really missing the point. The technology has nothing to do with the content so remove it from the URL. K.I.S.S. A simple url is better than a verbose one, so choose your words carefully. A popular example is to use /job over /employment... /cv over /resume. Domain names are chosen to be brief, perhaps an acronym - but often people feel more comfortable choosing ludicrously long filenames like 0092115-The_Movie_Troll_ Character_Harry_Potter.html. Expressing Hierarchy Parent/child relationships are typically expressed by /'s (slashes). Using the URL as a command line has lessened this elegant simplicity. There are URLs that are /?year=2001month=3day=12pid=162340 when /2001/3/12/[pid] has the same information. Or take a link to a page that exposes internal logic, /?op=special;page=irc when /irc is enough of a unique identifier. It's more readable and far easier to remember and it doesn't become less flexible. When content varies by date a useful structure is year/month/day/ItemOfTheDay. With this, a user should be able to edit an URL to /2001/5/1, or perhaps just the month (/2001/5) and receive a list of all stories posted that month. In this way an URL becomes a hackable interface. Most programmers already do this. When getting a 404 they'll chop off the end to see if any parent pages remain. * IE seems to follow this scheme in deciding filetype, -- If the server returns a content-type, IE will remember that. -- However, IE also runs the beginning of the stream through a 'buffer check' to verify whether the data actually looks like the content-type being passed to it. If IE thinks the content-type is invalid, it'll just ignore it and do whatever else it can to parse the data, including falling back on the extension of the URL given. .Matthew Cruickshank http://holloway.co.nz/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
RE: [WSG] Site Critique
Hi Debra Overall, a nice design, just one point. In IE6 win xp, the background image/floorplan in the content area moves when switching between high contrast/low contrast. I haven't looked into why, no time right now, but when this has happened to me it's been a background positioning issue. Good work! Regards Peter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Debra Reese Sent: 19 February 2005 04:05 To: wsg@webstandardsgroup.org Subject: [WSG] Site Critique Hi List Members! Could anyone spare a moment to give some general comments about a site I am working on? The site is: http://marketstreetgrill.net I'd like to hear from willing Mac users. I am working on a PC. This is my first public critique ever, so please don't lambaste me for any glaring errors. I want to improve, so I'll appreciate your honest constructive criticism. Please e-mail me off-list at [EMAIL PROTECTED] -Debra ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
RE: [WSG] Table content displayed as a list
Title: RE: [WSG] Table content displayed as a list I'd say that if it's a list, then format it as a list as using CSS to bastardise your document seems to defeat the object. If it's dynamic, can you not just output the data into a list instead? -Original Message- From: RMW Web Publishing [mailto:[EMAIL PROTECTED]] Sent: 22 February 2005 01:04 To: wsg@webstandardsgroup.org Subject: [WSG] Table content displayed as a list I have some tabular content (in the HTML as a table) but what it to display as a list. This works fine in Firefox by making each TD display as a 'block', but does nothing in IE. Any ideas? I do not want to do any static positioning as the table content contains dynamic data. Would it be acceptable to change from a table to a definition list ('dl') with multiple descriptions ('dd')? ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
RE: [WSG] Standards and site structuring
Title: RE: [WSG] Standards and site structuring This is already in development with WebML, as far as I know the project has re started. -Original Message- From: Rick Faaberg [mailto:[EMAIL PROTECTED]] Sent: 22 February 2005 04:12 To: wsg@webstandardsgroup.org Subject: Re: [WSG] Standards and site structuring I think that becomes absurd really quick, and ultimately leads to software creating websites with no human intervention required. :-( Rick Faaberg
RE: [WSG] WSG thoghts on XUL
Dean Jackson [snip] I don't think it's beyond the scope of the W3C. We're constantly looking at technologies like XUL. Do people see the need for standardisation in this area? I'd welcome some standardisation, but as John Allsopp already mentioned, MS went the XAML route...so once again, any standardisation work done on the XUL end will only mirror, or run in parallel to, the MS way. The only saving grace (although I'm not sure of the practicality) would be that both XUL and XAML are XML based, and could - in theory anyway - be transformed from one to the other in a hopefully straightforward way. Patrick Patrick H. Lauke Webmaster / University of Salford http://www.salford.ac.uk ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Centre DIV Vertically? Any compliant methods?
On Tue, 22 Feb 2005 09:41:39 +1100, John Horner [EMAIL PROTECTED] wrote: Slightly off-[this]topic, but does anyone have an explanation for how vertical alignment got missed in the creation of CSS? This topic comes up again and again. I mean, forgive me for being crass, but did they just forget? Or was it not considered necessary? I imagined that they would have a big list called Stuff You Can Already Do which they worked through -- and vertical alignment should have been on it... ... Let's recall how did we do that Stuff You Can Already Do -- placing content into the table cell and putting and using attribute valign=middle. Now try this: div style=width:500px; height:500px; display:table-cell; vertical-align:middle; text-align:center; border:1px solid redcentered/div The word centered is nicely centered (at least in FF). Internet Explorer does not support table-cell, or table-row for display, but this is not the fault of CSS. You may also be interested in this: http://www.456bereastreet.com/lab/equal_height/ Regards, Rimantas -- http://rimantas.com/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
RE: [WSG] Other character sets/languages
On Tue, 22 Feb 2005 08:31:09 -, Richard Ishida wrote: I note that you used incorrect syntax for your CSS declarations - ending declarations with ':' rather than ';'. I assume this is just a typo in this message, rather than the potential source of the problems you had, since in a CSS file it would generally cause the declaration to fail. Ah, yeah, its a typo - I didn't cut and paste, but typed it from memory; this was a while ago :) Thanks for the pickup. (Just between you, me, and the other 1000 members of the list, I make that typo about once per project, mostly in PHP, so I catch it fairly quickly ;)) warmly Lea -- Lea de Groot Elysian Systems - I Understand the Internet http://elysiansystems.com/ Search Engine Optimisation, Usability, Information Architecture, Web Design Brisbane, Australia ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
[WSG] table background images with CSS
First off, let me say that yes, I'm using a single table for the layout of this project (my client insists upon it, since he doesn't trust CSS layout yet...go figure). I'm having a bit of a mind lapse, I think, because I can't get the background image to span the table rows. Here's the XHTML: table id=layout tr td id=header colspan=2/td /tr tr td id=navbar colspan=2/td /tr tr td id=content/td td id=sidebar/td /tr tr td id=footer colspan=2/td /tr /table What I want is is put background: #CC url('images/bass.png') no-repeat right top; in the layout ID so that it can span vertically through the table rows, but all I'm getting is a bit of it shown in the sidebar ID. I want it see it shown through the navbar and header ID's as well. My explanation may be inadequate, but I'm not prepared yet to show anything online. Can anybody decipher my email and give me some tips on how to accomplish this? I'm sure it's something outrageously stupid that I've overlooked. Thanks. ~john ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
RE: [WSG] FW: Site review
Thanks for all the feedback. I will get to work removing the pop-up windows - moving the content into the main page template makes sense and the accessibility advantages make it the obvious choice (easier than going back to HTML strict too!). I do care about mac users (being a part-time mac user myself). I was aware of an issue in ie5 but not the one in firefox. I'll look into it. The color scheme was an attempt to get away from the traditional view of organics - to be a little bolder than the harmonious green palette you may expect. But I know it can look strong! Once again thankyou everyone for taking the time to look at it - it is very valuable feedback. Cheers James -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Firminger Sent: Tuesday, 22 February 2005 11:45 AM To: wsg@webstandardsgroup.org Subject: RE: [WSG] FW: Site review Hi James, As the page http://www.organicexpo.com.au/exhibitors/index.php validates as XHTML 1.0 Strict, this may not mean anything but I have had errors or warnings from validators about white space in html comments in the past. !--comment-- wasn't acceptable as there needed to be a space either inside the delimiters (--) as in !-- comment --. Seems this has been changed in the specs, or at least the validators. I would still suggest doing it that way anyway. This also means that ColdFusion comments !--- comment --- should not really be used on pages that are not parsed by ColdFusion (removing them from the source). The links without hrefs in the footer are inaccessible. a onclick=javascript:newWindow('../articles/terms.php')terms and conditions/a Without JavaScript (many smartphones etc. simply don't have it), this won't work and they can't read your terms. A potential legal issue. The code we use (in HTML and only when we really need to) is: a href=page.htm target=targetname onClick=window.open('', 'targetname','toolbar=0,location=0,directories=0,status=0,menubar=0,scro llba rs=auto,resizable=0,width10,height00') title=Link text (opens in a new window)Link text/a This is very stable code that works everywhere. So, either don't use XHTML if you want accessible links to popup windows (due to the lack of the target attribute) or don't use popup windows at all, loading the terms and conditions and privacy policy in the full window. The latter is obviously preferable as people using screen readers without the aid of vision may not know the new window has opened and get completely lost on a page with no navigation aids. Just my thoughts... P ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] table background images with CSS
Hi John background: #CC url('images/bass.png') no-repeat right top; in the layout ID so that it can span vertically through the table rows, but all I'm getting is a bit of it shown in the sidebar ID. I want it see it shown through the navbar and header ID's as well. With the above CSS rule you would need a very tall background image if you want it shown the full length *height) of the table/page. If it is an image that can and should tile, remove the no-repeat from your background rule (or replace it with the seemingly more appropriate repeat-y). Regards -- Bert Doorn, Better Web Design http://www.betterwebdesign.com.au/ Fast-loading, user-friendly websites ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] table background images with CSS
Thanks for the reply, Bert. Yes, the image is tall enough to do what I want, and I don't want to tile it. It seems that no matter what I try, the image isn't showing in the navbar or header (even though the CSS is in the layout ID, which is attached to the table itself. ~john _ Dr. Zeus Web Development http://www.DrZeus.net content without clutter on 2/22/2005 11:17 AM Bert Doorn said the following: Hi John background: #CC url('images/bass.png') no-repeat right top; in the layout ID so that it can span vertically through the table rows, but all I'm getting is a bit of it shown in the sidebar ID. I want it see it shown through the navbar and header ID's as well. With the above CSS rule you would need a very tall background image if you want it shown the full length *height) of the table/page. If it is an image that can and should tile, remove the no-repeat from your background rule (or replace it with the seemingly more appropriate repeat-y). Regards ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] FW: Site review
I like the color choices. Gives it a strong individual identity. Rosemary Norwood Blackwork Web Intelligence ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] WSG thoghts on XUL
John, On 22 Feb 2005, at 15:42, John Allsopp wrote: I don't think it's beyond the scope of the W3C. We're constantly looking at technologies like XUL. Do people see the need for standardisation in this area? Sure. I think the real benefit of standardisation and standards bodies is not necessarily the standards they develop (in a sense, it's not even necessary, and arguably not even advisable they develop those standards, at least not from top to bottom) but that by anointing technology it becomes a common good. Agreed. It seems to be a fairly common discussion topic nowadays as to whether or not a standards body should be generally creating or generally adopting. My take is it depends. The alternative is industry standards that is winner takes all proprietary technologies, which are the property and strategic asset of their creator. XUL/XAML is a very good example of this. XUL was developed at Mozilla, whose implementation was a great proof of concept. It's a shame that early on in its development Mozilla didn't take it to WC By this you mean flush it down the toilet? ;) and say, look here is this really cool technology that works, would you guys like to work with us to standardize this? Or maybe they did and I don't know about it. As far as I know, XUL was never a submission to W3C. I know a lot of W3C Groups have considered work in the general area (including XForms and SVG, and obviously CSS has been thinking about UI). In the cases I'm aware of we were hesitant to start down the road of defining a UI toolkit (we'd heard many horror stories of how much effort it is to complete such a task). However, maybe we were wrong? Maybe XUL is a comfortable sweet spot? Unfortunately now we have two competing technologies that are similar, leading to years if not decades in the delay of the adoption of XUL like solutions. Interesting that you think the appearance of XAML will have an effect on XUL adoption, since XUL has been around for so long. I'm not saying that I think it won't delay adoption, just that I don't know :) I'm hoping that the fact that proprietary Web Application technologies such as XAML and Flash are getting more attention means that we are approaching the point where we could think about standardisation in this area. I also think it's so broad a field that we shouldn't think that one size will fit all. That's like saying you should only ever use C++. However, XUL may be a great start. Just as an aside why circle and not solid class=whatever .whatever {shape: circle} This is a good question. The reason is that you still have to define all the properties of the circle (eg. radius). This could certainly be done via CSS: .whatever {display: circle; radius: 10cm} // note I used display because // I think it's a better match This seems ok for circle (CSS x,y could be used to position). However, what about a general polygon, or an arbitrary shape? .whatever {display: polygon; points: 10,20 23,23 . } You'd end up inventing a bunch of properties for the many structural attributes. As these can be quite complicated, it means your CSS parser would require a whole set of additional micro-parsers. In the end I think you'd come to the conclusion that CSS is a pretty good technology for styling HTML, an acceptable technology for laying- out HTML, and probably not the right technology for displaying arbitrary content as graphics or very complex text. Furthermore, just as a h1 in HTML is always a heading, a circle in SVG is always a circle. Having just a solid element and using CSS is similar to having only div in HTML (with display: heading1). Are we off topic? Dean ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] WSG thoghts on XUL
On 22 Feb 2005, at 21:07, Patrick Lauke wrote: Dean Jackson [snip] I don't think it's beyond the scope of the W3C. We're constantly looking at technologies like XUL. Do people see the need for standardisation in this area? I'd welcome some standardisation, but as John Allsopp already mentioned, MS went the XAML route...so once again, any standardisation work done on the XUL end will only mirror, or run in parallel to, the MS way. XUL is a much smaller technology than XAML. It's so much smaller that I doubt it will mirror the MS route. It also isn't really a competitor to XAML. It's the combination of technologies (XUL, XBL, HTML, CSS, Javascript, SVG, etc) that provide an Open alternative. The good news is that enough of this platform exists today, enabling a bunch of fantastic Web Applications. It is also an evolutionary approach. The only saving grace (although I'm not sure of the practicality) would be that both XUL and XAML are XML based, and could - in theory anyway - be transformed from one to the other in a hopefully straightforward way. XAML is an XML serialisation of the Windows object hierarchy (which you could think of as the Win32 or .NET API). This isn't strictly true, but I think it's close enough to make the point, which is.. Basically, XAML is tied to Windows. It is conceivable that you could implement XAML on another platform, just as the Mono project is implementing .NET. However, some pieces of the technology will be extremely hard to replicate, and some may be covered by patents. There's also the code embedded in XAML files (e.g. C# or ASP) that is (typically) Windows specific. Therefore, I doubt you'll be using the fact that both are XML to transform between one and the other. I know of people that have transformed between XAML and other formats, but this is mostly for static images, not applications. As always though, I certainly could be wrong! Dean -- dean jackson world wide web consortium (w3c) - http://www.w3.org/ mailto:[EMAIL PROTECTED] ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
RE: [WSG] WSG thoghts on XUL
Dean Jackson XUL is a much smaller technology than XAML. [...] I doubt you'll be using the fact that both are XML to transform between one and the other. Fair enough. I'll admit to not really knowing too much about XAML, hence my naive generalistation (or wishful thinking really). Thanks for giving a more rounded view on the subject, Dean. Patrick Patrick H. Lauke Webmaster / University of Salford http://www.salford.ac.uk ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] table background images with CSS
Do you have a link to a live example of this behavior? Are your XHTML and CSS valid? Are there other styles inadvertently tied to other tds that are blocking out the #layout background styles? On Feb 22, 2005, at 6:05 AM, john wrote: First off, let me say that yes, I'm using a single table for the layout of this project (my client insists upon it, since he doesn't trust CSS layout yet...go figure). I'm having a bit of a mind lapse, I think, because I can't get the background image to span the table rows. Here's the XHTML: table id=layout tr td id=header colspan=2/td /tr tr td id=navbar colspan=2/td /tr tr td id=content/td td id=sidebar/td /tr tr td id=footer colspan=2/td /tr /table What I want is is put background: #CC url('images/bass.png') no-repeat right top; in the layout ID so that it can span vertically through the table rows, but all I'm getting is a bit of it shown in the sidebar ID. I want it see it shown through the navbar and header ID's as well. My explanation may be inadequate, but I'm not prepared yet to show anything online. Can anybody decipher my email and give me some tips on how to accomplish this? I'm sure it's something outrageously stupid that I've overlooked. Thanks. ~john ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
[WSG] accessible ways to avoid spam
I'm wondering if any of you have any tips on creative ways to keep spambots from harvesting email addresses on you page, and still keep then accessable to diabled people and text-browsers. Here's my thoughts * You could do something like me[AT]foo[DOT]bar but the problem with this is that many none geeks are not familiar with this kind of anti-spam thing and may give up trying to contact you when the get a bounce back saying (surprise, surprise) me[AT]foo[DOT]bar does not exist. * You could do something like mespan style='display:none'nospamplease/div@foo.bar, but this wouldn't work for people without basic css support, and goes against some basic accessabilty rules. * You could use javascript, but then you block non-js users which is no better than the above solution * You could use an image, but then you have to decide what to put in the alt attribute. If you put the address there then you pretty much defeat the point of the image because i'm pretty sure most (or enough) spambots can't take addresses from alt attributes. If you don't, then you break accessability with text-browsers. Anyone else have any good solutions? Alan Trick ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
RE: [WSG] table background images with CSS
John Wrote: I'm having a bit of a mind lapse, I think, because I can't get the background image to span the table rows. Take a look at this demo from the master: http://stopdesign.com/present/2004/sydney/beauty/?no=64 Click on 'playing with backgrounds' HTH aj ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] accessible ways to avoid spam
Hi Alan I prefer to use the [EMAIL PROTECTED] method, as it's pretty self-explanatory and easier to understand that me[-at-]foo[-dot-]bar. There are other options, such as using a simple (ie: plaintext, no image-generation) CAPTCHA that then directs the site visitor to a page with the email address. Speaking of CAPTCHAs, can someone explain why we need image-based ones for blogsites and low-traffic sites? I seriously doubt that site spammers are going to write even the simplist of Visual Basic (or worse) to parse an XHTML file to extract a plaintext CAPTCHA. Since employing paintext CAPTCHAs on my sites, I haven't seen any increase in spam. -- -David R -- Original Message -- From: Alan Trick [EMAIL PROTECTED] Reply-To: wsg@webstandardsgroup.org Date: Tue, 22 Feb 2005 09:33:51 -0500 I'm wondering if any of you have any tips on creative ways to keep spambots from harvesting email addresses on you page, and still keep then accessable to diabled people and text-browsers. Here's my thoughts * You could do something like me[AT]foo[DOT]bar but the problem with this is that many none geeks are not familiar with this kind of anti-spam thing and may give up trying to contact you when the get a bounce back saying (surprise, surprise) me[AT]foo[DOT]bar does not exist. * You could do something like mespan style='display:none'nospamplease/div@foo.bar, but this wouldn't work for people without basic css support, and goes against some basic accessabilty rules. * You could use javascript, but then you block non-js users which is no better than the above solution * You could use an image, but then you have to decide what to put in the alt attribute. If you put the address there then you pretty much defeat the point of the image because i'm pretty sure most (or enough) spambots can't take addresses from alt attributes. If you don't, then you break accessability with text-browsers. Anyone else have any good solutions? Alan Trick ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] accessible ways to avoid spam
On Tue, 22 Feb 2005 09:33:51 -0500, Alan Trick [EMAIL PROTECTED] wrote: I'm wondering if any of you have any tips on creative ways to keep spambots from harvesting email addresses on you page, and still keep then accessable to diabled people and text-browsers. Anyone else have any good solutions? You can encode mail with URLencode and then with decimal and hexadecimal HTML entities, example implementation: http://wiki.pornel.ldreams.net/encje It's 100% valid and accessible, but should fool some spambots. Other method is to create bot-trap (hidden link) that catches and bans bots not respecting robots.txt and then giving e-mail addresses only on pages blocked in robots.txt. Yet another method is to write email links like: a href=/mail/user/domain and then postprocessing links with JS to transform them into mailto:[EMAIL PROTECTED] For compatibility with non-JS browsers you can have /mail/ page that generates mail form or uses some other unharvestable form of displaying address. -- regards, Kornel Lesiski ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
RE: [WSG] accessible ways to avoid spam
Alan Trick I'm wondering if any of you have any tips on creative ways to keep spambots from harvesting email addresses on you page, and still keep then accessable to diabled people and text-browsers. Interestingly, there were similar discussions this month on two other lists: http://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind0502L=web-supportT=0F=S=X=3B8ECB71D95F394803Y=p%2Eh%2Elauke%40salford%2Eac%2EukP=1150 and http://lists.w3.org/Archives/Public/w3c-wai-ig/2005JanMar/0281.html In both cases, I suggested that there may only be 2 realistic, sustainable options: 1) use a contact form (and keep the actual email address of the recipient on the server side...for instance, have a database of email addresses, and only pass an ID/primary key in a hidden field to identify which email address from the db it should go to) 2) (and/or) invest in some good spam filtering (both mailserver and client side) Anything else will have drawbacks for users with disabilities (and all other users as well, to an extent). IMHO anyway. Patrick Patrick H. Lauke Webmaster / University of Salford http://www.salford.ac.uk ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
RE: [WSG] accessible ways to avoid spam
Kornel Lesinski You can encode mail with URLencode and then with decimal and hexadecimal HTML entities, example implementation: http://wiki.pornel.ldreams.net/encje The problem with this type of method: once a method gets popular (because it temporarily works), bot writers are more than likely to simply update their bots (which should be fairly trivial in this case). Other method is to create bot-trap (hidden link) that catches and bans bots not respecting robots.txt and then giving e-mail addresses only on pages blocked in robots.txt. But then be careful that users of assistive technology don't stumble onto the trap by mistake. Yet another method is to write email links like: a href=/mail/user/domain and then postprocessing links with JS to transform them into mailto:[EMAIL PROTECTED] For compatibility with non-JS browsers you can have /mail/ page that generates mail form or uses some other unharvestable form of displaying address. Cute...particularly like the fallback mechanism. Again, though: once this catches on, bot writers will simply change their algorhythms. Patrick Patrick H. Lauke Webmaster / University of Salford http://www.salford.ac.uk ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
RE: [WSG] accessible ways to avoid spam
Alan, I've looked at this for a while and there is no guaranteed way of throttling spambots; however, you can confuse the simpler efforts and certainly slow the more determined scrapers. I wrote a server side app to encode email and mailto: addresses in ISO, Hex or mixed obfuscation. It's at: http://www.seowebsitepromotion.com/obfuscate_email.asp Mike Pepper Accessible Web Developer Internet SEO and Marketing Analyst [EMAIL PROTECTED] http://www.visidigm.com Administrator Guild of Accessible Web Designers [EMAIL PROTECTED] http://www.gawds.org -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alan Trick Sent: 22 February 2005 14:34 To: wsg@webstandardsgroup.org Subject: [WSG] accessible ways to avoid spam I'm wondering if any of you have any tips on creative ways to keep spambots from harvesting email addresses on you page, and still keep then accessable to diabled people and text-browsers. Here's my thoughts * You could do something like me[AT]foo[DOT]bar but the problem with this is that many none geeks are not familiar with this kind of anti-spam thing and may give up trying to contact you when the get a bounce back saying (surprise, surprise) me[AT]foo[DOT]bar does not exist. * You could do something like mespan style='display:none'nospamplease/div@foo.bar, but this wouldn't work for people without basic css support, and goes against some basic accessabilty rules. * You could use javascript, but then you block non-js users which is no better than the above solution * You could use an image, but then you have to decide what to put in the alt attribute. If you put the address there then you pretty much defeat the point of the image because i'm pretty sure most (or enough) spambots can't take addresses from alt attributes. If you don't, then you break accessability with text-browsers. Anyone else have any good solutions? Alan Trick ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.3.0 - Release Date: 21/02/05 ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] accessible ways to avoid spam
Thanks for the replies. I've desided to just go with something like this: mspan style='display:none'{remove this text for email address, it is inserted to avoid spam}/span [EMAIL PROTECTED] The number of people who will ever see the invisible text is pretty small and I think it's pretty self explanitory how to get the address out of there if their UA doesn't support 'display:none'. Mike, I like that idea about strap.asp, but I use php, do you now any places were I could find equivilant php code for the page? -Alan Trick Mike Pepper wrote: Alan, I've looked at this for a while and there is no guaranteed way of throttling spambots; however, you can confuse the simpler efforts and certainly slow the more determined scrapers. I wrote a server side app to encode email and mailto: addresses in ISO, Hex or mixed obfuscation. It's at: http://www.seowebsitepromotion.com/obfuscate_email.asp Mike Pepper Accessible Web Developer Internet SEO and Marketing Analyst [EMAIL PROTECTED] http://www.visidigm.com Administrator Guild of Accessible Web Designers [EMAIL PROTECTED] http://www.gawds.org -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alan Trick Sent: 22 February 2005 14:34 To: wsg@webstandardsgroup.org Subject: [WSG] accessible ways to avoid spam I'm wondering if any of you have any tips on creative ways to keep spambots from harvesting email addresses on you page, and still keep then accessable to diabled people and text-browsers. Here's my thoughts * You could do something like me[AT]foo[DOT]bar but the problem with this is that many none geeks are not familiar with this kind of anti-spam thing and may give up trying to contact you when the get a bounce back saying (surprise, surprise) me[AT]foo[DOT]bar does not exist. * You could do something like mespan style='display:none'nospamplease/div@foo.bar, but this wouldn't work for people without basic css support, and goes against some basic accessabilty rules. * You could use javascript, but then you block non-js users which is no better than the above solution * You could use an image, but then you have to decide what to put in the alt attribute. If you put the address there then you pretty much defeat the point of the image because i'm pretty sure most (or enough) spambots can't take addresses from alt attributes. If you don't, then you break accessability with text-browsers. Anyone else have any good solutions? Alan Trick ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
RE: [WSG] accessible ways to avoid spam
Alan Trick The number of people who will ever see the invisible text is pretty small and I think it's pretty self explanitory how to get the address out of there if their UA doesn't support 'display:none'. The problem is not UA (browser, in this case) support for display:none; it's the extra step that you're now requiring from users when they hit a mailto link and have to go back to manually edit the email address. This may become an issue for users with cognitive disabilities, or even those of us who are in a rush and don't pay too close attention to the to field after clicking said link. Patrick Patrick H. Lauke Webmaster / University of Salford http://www.salford.ac.uk ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
RE: [WSG] code formatting
Hope Stewart mailto:[EMAIL PROTECTED] on Sunday, February 20, 2005 4:38 PM said: By some fluke, however, I discovered (though I'm sure I'm not the first!) that if I moved the /div tag to the end of the previous line -- instead of it being on a line by itself -- that the unwanted margin in IE disappears and the page is rendered how I want it to be: It may be because IE likes to add spaces (nbsp;) to the HTML when content spans multiple lines. If that is indeed what's happening, you'll just have to get used to where you can put stuff on the next line and where you can't. Chris. ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
[WSG] Web counters
I hope this is not off topic. If it is, reply to [EMAIL PROTECTED] What is a good web standards web counter to add to a web site to monitor web site hits. Some counters will say that hitting the back button to go back as a web site hit. A client would like to see how many times the web site I built is accessed. Angus MacKinnon MacKinnon Crest Saying Latin - Audentes Fortuna Juvat English - Fortune Assists The Daring Web page: http://members.shaw.ca/dabneyadfm Choroideremia Research Foundation Inc. http://www.choroideremia.org ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Web counters
On Tue, 22 Feb 2005 09:16:17 -0800, InfoForce Services [EMAIL PROTECTED] wrote: I hope this is not off topic. If it is, reply to [EMAIL PROTECTED] What is a good web standards web counter to add to a web site to monitor web site hits. Some counters will say that hitting the back button to go back as a web site hit. A client would like to see how many times the web site I built is accessed. Easiest solution is to use Webalizer. It analyzes server logs, so it's invisible to users and doesn't require any code changes from you. -- regards, Kornel Lesiski ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
RE: [WSG] accessible ways to avoid spam
Alan, I'll mail you the ASP source off-list. PHP is almost a sibling to ASP and most of the routines are array storage and iteration. You should be able to translate it easily. I presume you're using the [EMAIL PROTECTED] Cheers, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alan Trick Sent: 22 February 2005 16:40 To: wsg@webstandardsgroup.org Subject: Re: [WSG] accessible ways to avoid spam Thanks for the replies. I've desided to just go with something like this: mspan style='display:none'{remove this text for email address, it is inserted to avoid spam}/span [EMAIL PROTECTED] The number of people who will ever see the invisible text is pretty small and I think it's pretty self explanitory how to get the address out of there if their UA doesn't support 'display:none'. Mike, I like that idea about strap.asp, but I use php, do you now any places were I could find equivilant php code for the page? -Alan Trick Mike Pepper wrote: Alan, I've looked at this for a while and there is no guaranteed way of throttling spambots; however, you can confuse the simpler efforts and certainly slow the more determined scrapers. I wrote a server side app to encode email and mailto: addresses in ISO, Hex or mixed obfuscation. It's at: http://www.seowebsitepromotion.com/obfuscate_email.asp Mike Pepper Accessible Web Developer Internet SEO and Marketing Analyst [EMAIL PROTECTED] http://www.visidigm.com Administrator Guild of Accessible Web Designers [EMAIL PROTECTED] http://www.gawds.org -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alan Trick Sent: 22 February 2005 14:34 To: wsg@webstandardsgroup.org Subject: [WSG] accessible ways to avoid spam I'm wondering if any of you have any tips on creative ways to keep spambots from harvesting email addresses on you page, and still keep then accessable to diabled people and text-browsers. Here's my thoughts * You could do something like me[AT]foo[DOT]bar but the problem with this is that many none geeks are not familiar with this kind of anti-spam thing and may give up trying to contact you when the get a bounce back saying (surprise, surprise) me[AT]foo[DOT]bar does not exist. * You could do something like mespan style='display:none'nospamplease/div@foo.bar, but this wouldn't work for people without basic css support, and goes against some basic accessabilty rules. * You could use javascript, but then you block non-js users which is no better than the above solution * You could use an image, but then you have to decide what to put in the alt attribute. If you put the address there then you pretty much defeat the point of the image because i'm pretty sure most (or enough) spambots can't take addresses from alt attributes. If you don't, then you break accessability with text-browsers. Anyone else have any good solutions? Alan Trick ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.3.0 - Release Date: 21/02/05 ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] accessible ways to avoid spam
I'm not including it as a link, so people are going to have to copy and paste it anyways. I'm including a form on the page so that those who want to contact me directly, can. And Mike, just email me at this address, thanks :-) Patrick Lauke wrote: Alan Trick The number of people who will ever see the invisible text is pretty small and I think it's pretty self explanitory how to get the address out of there if their UA doesn't support 'display:none'. The problem is not UA (browser, in this case) support for display:none; it's the extra step that you're now requiring from users when they hit a mailto link and have to go back to manually edit the email address. This may become an issue for users with cognitive disabilities, or even those of us who are in a rush and don't pay too close attention to the "to" field after clicking said link. Patrick
Re: [WSG] Cool css box idea
Yeah, round corners is something. I did it this way (http://siter.com.au/dmitry) -- Best regards, Dmitry Baranovskiy ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Centre DIV Vertically? Any compliant methods?
div style=width:500px; height:500px; display:table-cell; vertical-align:middle; text-align:center; border:1px solid redcentered/div The word centered is nicely centered (at least in FF). Internet Explorer does not support table-cell, or table-row for display, but this is not the fault of CSS. You have a point, but that's CSS version *two*, isn't it? What I want is the ability to align the content of a DIV, for instance, or any block element, vertically, and I'm asking why it wasn't included in CSS-1. I can't think of any policy-type reason why it wasn't, that's all, and I don't see vertical alignment as being directly related to table-cell display either. Have You Validated Your Code? John Horner(+612 / 02) 9333 3488 Senior Developer, ABC Online http://www.abc.net.au/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Centre DIV Vertically? Any compliant methods?
John, What I want is the ability to align the content of a DIV, for instance, or any block element, vertically, and I'm asking why it wasn't included in CSS-1. I can't think of any policy-type reason why it wasn't, that's all, and I don't see vertical alignment as being directly related to table-cell display either. I can't speak for Hakon Lie or Bert Bos but... The original proposal was taking shape in 95/95, really before the abomination of tables for layout had ruined the web :-) So I'm guessing that it simply wasn't something everyone wanted to do, like it is now. Ditto multi column layout f'rinstance. Maybe Bert will have an answer :-) John John Allsopp :: westciv :: http://www.westciv.com/ software, courses, resources for a standards based web :: style master blog :: http://westciv.typepad.com/dog_or_higher/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Web counters
On Tuesday 22 February 2005 18:33, Kornel Lesinski wrote: On Tue, 22 Feb 2005 09:16:17 -0800, InfoForce Services [EMAIL PROTECTED] wrote: I hope this is not off topic. If it is, reply to [EMAIL PROTECTED] What is a good web standards web counter to add to a web site to monitor web site hits. Some counters will say that hitting the back button to go back as a web site hit. A client would like to see how many times the web site I built is accessed. There are a few different ways to do this: 1. Use a script that is already written (search the web) 2. Write your own counter The easiest one uses a text file to keep track of visitors But you can also have it update and use a MySql database It can output nothing to the users or a text count or even a live made image you can code wether or not you want a hit counter or a visitor counter (hit means inc 1 everytime the page is requested) (visitor means unique ip in a given timeframe - like 24hrs) 3. Like said by Kornel Lesinski use Webalizer If you want I can give you my counter script. --just let me know -- even if you decide not to use it, you can learn from it. With kind regards Andy -- Registered Linux User Number 379093 Now listening to [silence] -- Feel free to check out these few php utilities that I released under the GPL2 and that are meant for use with a php cli binary: http://www.vlaamse-kern.com/sas/ -- pgpGzq7tqi35D.pgp Description: PGP signature
Re: [WSG] Centre DIV Vertically? Any compliant methods?
John Horner wrote: You have a point, but that's CSS version *two*, isn't it? What I want is the ability to align the content of a DIV, for instance, or any block element, vertically, and I'm asking why it wasn't included in CSS-1. I can't think of any policy-type reason why it wasn't, that's all, and I don't see vertical alignment as being directly related to table-cell display either. CSS-1 didn't have hardly any layout ability, just text/list styling and some padding/margins for blocks. It just had floats for layout, and no absolute positioning http://www.w3.org/TR/REC-CSS1 . What I mean to say is that vertical positioning was probably a minor concern until they got the basic layout concepts done in CSS2. But yeah, it seems crazy that they didn't reimplement basic layout features already available in HTML. // About accessible ways to avoid spam. For web form submissions some sites use images of text to try and make it difficult for computers to parse, and to hopefully ensure a person's at the other end (which obviously excludes blind people, as the images intentionally don't have ALT text). This technique can be broken by spammers too http://sam.zoy.org/projects/pwntcha/ . I guess another approach would be using sentences, as in write the 4th word in the following sentence into the box labelled Passcode, but unfortunately it's only a matter of time until that's broken too. .Matthew Cruickshank http://holloway.co.nz/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
[WSG] variations on @import syntax?
I just noticed that on Zeldman's website his CSS is imported like this: style type=text/css media=all@import /c/c04.css;/style which I don't think I've ever seen before. I normally see @import url(/c/c04.css) is there some hack being invoked here, or is it just a matter of style? Have You Validated Your Code? John Horner(+612 / 02) 9333 3488 Senior Developer, ABC Online http://www.abc.net.au/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] variations on @import syntax?
There are a wide range of variations. Each variation will allow you to target different browsers. Here are some: @import url(styles.css) not all; @import url(styles.css) all; @import url(styles.css) All; @import null?\\{; @import styles.css; @import null?\\}; @import'styles.css'; @importstyles.css; @import 'styles.css'; @import styles.css; @import url(styles.css); @import url('styles.css'); @import url(styles.css); This can be seen in this browser filters chart: http://www.dithered.com/css_filters/css_only/index.php Russ I just noticed that on Zeldman's website his CSS is imported like this: style type=text/css media=all@import /c/c04.css;/style which I don't think I've ever seen before. I normally see @import url(/c/c04.css) is there some hack being invoked here, or is it just a matter of style? ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Site Critique
Debra Reese wrote: Hi List Members! Could anyone spare a moment to give some general comments about a site I am working on? The site is: http://marketstreetgrill.net I'd like to hear from willing Mac users. I am working on a PC. This is my first public critique ever, so please don't lambaste me for any glaring errors. I want to improve, so I'll appreciate your honest constructive criticism. Please e-mail me off-list at [EMAIL PROTECTED] -Debra my one small suggestion is to make it noticeable that RESERVATION takes a user to another site. An icon perhaps? or another color for that link? just irks me that i'm taken to another website. it might not be under your control (?) the security of that other site however--as J. Colon suggested, it also puts people off. other then that, site is great! regards, Zulema · · · · · · · · · · · · · · · · Z u l e m a O r t i z W e b D e s i g n e r email : [EMAIL PROTECTED] website : http://zoblue.com/ · · · · · · · · · · · · · · · · ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] FW: Site review
Excellent choice of colours and a well planned layout, make a near perfect website. I love that strong orange background, it really brings out the website's character. ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Site review
Pat Boens wrote: Can you have a review of the following site, which I derived from http://www.alistapart.com. The work is a bit special though because I am using pure XML, somehow turned to XHTML via XSL. Of course, doing this makes it automatically inaccessible to any user who doesn't have client-side XSLT. It's also very likely that search engines will have a hard time spidering the site, as they won't know what is and isn't a link. This is disingenious, to say the least. By all means use XML, but at least offer the option to transform it server side and send out XHTML or HTML. -- Patrick H. Lauke _ re·dux (adj.): brought back; returned. used postpositively [latin : re-, re- + dux, leader; see duke.] www.splintered.co.uk | www.photographia.co.uk http://redux.deviantart.com ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
[WSG] [ADMIN] Site review requests and new Brisbane organiser
Hi all, When asking for site reviews please A) put at least the client name or domain name (not the full path if it's deeper, and no need for http:// or www.) in the title so that the subject lines are a little easier to separate and B) put your email address in the message for those that don't know how to get it from the message easily. e.g. Site review: widgets.com Site review: Widgets Inc When answering a site review post, if you're just saying something like Hey nice colo(u)rs, didn't like the widget then please consider the rest of the list and send it directly to the person that sent it. If you do go into a specific issue that others will learn from then please feel free to answer to the list. Not trying to squash discussion and help, just trying to cut down on traffic that isn't really of any use to anyone else. While I'm here I'd like to welcome Avril Bowie to the WSG Core team. Avril will be sharing the WSG Brisbane duties with Lea de Groot. Regards, Peter Firminger *** http://webboy.net/ info@webboy.net +612 49983388 +614 12932269 *** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Centre DIV Vertically? Any compliant methods?
On 23 Feb 2005, at 09:49, John Allsopp wrote: John, What I want is the ability to align the content of a DIV, for instance, or any block element, vertically, and I'm asking why it wasn't included in CSS-1. I can't think of any policy-type reason why it wasn't, that's all, and I don't see vertical alignment as being directly related to table-cell display either. I think you want the 'display-align' property from XSL:FO. http://www.w3.org/TR/xsl/slice7.html#area-alignment Unfortunately, it's not available in CSS 1, 2, 2.1 or 3 (yet?). It will be available in SVG 1.2 (we added a new property before realising that XSL:FO had already done it the right way). I wouldn't be surprised if Bert gave a reason as to why 'display-align' will not be in CSS. I can't speak for Hakon Lie or Bert Bos but... The original proposal was taking shape in 95/95, really before the abomination of tables for layout had ruined the web :-) So I'm guessing that it simply wasn't something everyone wanted to do, like it is now. Ditto multi column layout f'rinstance. Yeah! Wouldn't it have been fantastic to have a real multi-column, grid-like layout mechanism? (It probably *still* would be fantastic to have one :). It would also be nice to bind an HTML element to a particular cell in the layout, allowing the author to order the source in the most appropriate manner and not resort to floats and abs positioning to achieve the layout they desire. Maybe Bert will have an answer :-) In my experience Bert always has the answer, and if I notice I disagree with him then that's usually first step towards realising I'm wrong :) Dean ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] variations on @import syntax?
browser filters chart: http://www.dithered.com/css_filters/css_only/index.php Very useful, thanks a lot Russ. I'm a bit disturbed to see that this particular syntax will Destroy (i.e. hang) some Windows Netscape 4 versions: http://www.dithered.com/css_filters/css_only/import_single_quotes_no_url.html but I'm guessing that the fact it's inside style type=text/css media=all/style gets around that? Hacks within hacks within hacks... Have You Validated Your Code? John Horner(+612 / 02) 9333 3488 Senior Developer, ABC Online http://www.abc.net.au/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Centre DIV Vertically? Any compliant methods?
Dean Jackson wrote: Yeah! Wouldn't it have been fantastic to have a real multi-column, grid-like layout mechanism? (It probably *still* would be fantastic to have one :). Yeah, although I'm glad tables are gone the one thing I miss is the width or height of one cell affecting the next. Grids were useful that way. It's annoying to have to manually lay out divs, and make sure things don't overlap. One way of doing grids for layout would be dockable divs. It'd be a nice way of ensuring things don't overlap, and it'd easily allow footers extending across the whole page. Eg, div id=menu.../div div id=content.../div div id=footer.../div #menu {dock: left #content; width:30%} #content {left:30%;width:70%;} #footer {dock: bottom #content; width:100%;} There's also the related issue of keeping constant heights and widths across divs (in case #menu is longer than #content), perhaps with a syntax of, #menu {dock: left #content; share-max-height: #content; width:30% } #content {left:30%; share-max-height: #menu; width:70%;} #footer {dock: bottom #content; width:100%;} I guess this wishlist is deviating a bit from web standards so I'll stop now ;) .Matthew Cruickshank http://holloway.co.nz/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **