Re: [WSG] FOUC Safari 2.0

2005-06-16 Thread Roger Johansson


On 16 jun 2005, at 04.23, Chris Kennon wrote:

Has anyone any idea if the FOUC in Safari 2.0 is remedied with  
similar methods to IE?


Safari's FOUC was introduced in 1.3/2.0 and seems to mostly appear on  
pages that have Google ads. Apple are aware of the problem, so I'm  
hoping a fix will be in the next update.


/Roger

--
http://www.456bereastreet.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] the use of reset buttons on forms

2005-06-15 Thread Roger Johansson


On 15 jun 2005, at 02.48, Andreas Boehmer wrote:


just wanted to hear what other people's thoughts on this topic are. I
have been adding submit  reset buttons to most of my forms all along.
But I am getting the feeling that the reset button is not only a waste
of time, but in fact fairly user-unfriendly.


Yes, very unfriendly:

http://www.useit.com/alertbox/2416.html

/Roger

--
http://www.456bereastreet.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] Standards and ADS

2005-06-14 Thread Roger Johansson


On 14 jun 2005, at 14.20, Jad Madi wrote:


Hi
Will ADS break web standards in any mean ? such as Google ads, and  
Amazon  ads?


Yes. You need to use some workarounds to be able to serve Google ads  
if you use application/xhtml+xml to deliver XHTML. More info here:


 http://www.456bereastreet.com/archive/200409/ 
content_negotiation_adsense_and_comments/ 


The iframe created by the ad script still contains old-skool tag-soup  
though. No way around that.


/Roger

--
http://www.456bereastreet.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] Validation error question for XHTML Strict

2005-05-06 Thread Roger Johansson
On 6 maj 2005, at 08.01, tee wrote:
But it is in the div
Example:
div id=form
form method=post action=form.cgi
input type=hidden name=postmode value=QUANTITYBOXES /
You need a block level element _inside_ the form element:
form
div
input  /
/div
/Roger
--
http://www.456bereastreet.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] Valid blockquote scenarios?

2005-05-06 Thread Roger Johansson
On 6 maj 2005, at 21.53, Lukasz Grabun wrote:
Matt Thommes wrote:
blockquotepTEXT/p/blockquote
blockquoteTEXT/blockquote
- Is the p even necessary? If so, does it go INSIDE or OUTSIDE the
blockquote?
Both are correct. I use the former one when there are more than one 
paragraph to cite.
Unless I'm misreading the W3C Recommendation, blockquote elements can 
only have block-level content. That makes the second example incorrect. 
From  http://www.w3.org/TR/html4/struct/text.html#h-9.2.2 :

!ELEMENT BLOCKQUOTE - - (%block;|SCRIPT)+ -- long quotation --
BLOCKQUOTE is for long quotations (block-level content) and Q is 
intended for short quotations (inline content) that don't require 
paragraph breaks.

So yes, the p (or some other block-level element) is necessary, and it 
goes inside the blockquote element.

/Roger
--
http://www.456bereastreet.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] Valid blockquote scenarios?

2005-05-06 Thread Roger Johansson
On 6 maj 2005, at 22.57, Lukasz Grabun wrote:
Roger Johansson wrote:
Unless I'm misreading the W3C Recommendation, blockquote elements can 
only have block-level content. That makes the second example 
incorrect. From  http://www.w3.org/TR/html4/struct/text.html#h-9.2.2 
:
So yes, the p (or some other block-level element) is necessary, and 
it goes inside the blockquote element.
Have a look: http://grabun.com/tmp/block-no-p.html
Ah. It's allowed in Transitional, but not in Strict. I never use 
Transitional these days so I didn't think about that, but yes, that 
document is valid.

/Roger
--
http://www.456bereastreet.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] best practice?

2005-04-28 Thread Roger Johansson
On 28 apr 2005, at 22.04, designer wrote:
Thing. The point is, this doesn't work in IE
IE6 in standards mode does, actually. But you need to give the element  
you want to centre an explicit width.

See Centring (centering) in this document:
  
http://www.456bereastreet.com/archive/200503/ 
css_tips_and_tricks_part_2/ 

/Roger
--
http://www.456bereastreet.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] Accessible dropdown menus

2005-04-14 Thread Roger Johansson
Hi all,
I have a client that insists on having a dropdown menu. I have tried 
talking them out of it, but no. So I have to implement one of the web 
gadgets that I detest most of all.

Fortunately only a basic single level vertical dropdown is needed. I've 
looked at some techniques but haven't found one that I'm completely 
happy with.

Here are the requirements:
* Semantic markup (i.e. nested unordered lists)
* Graceful degradation when support for CSS and/or JavaScript is missing
* Keyboard navigable, preferrably with optionally expandable menus.
* Top level menu items should be real links
* Menus drop down on hover (obviously)
Some of the techniques I've looked at:
Suckerfish  http://www.htmldog.com/articles/suckerfish/dropdowns/ 
Neat, but not keyboard friendly
Ultimate Drop Down Menu  http://www.brothercake.com/dropdown/ 
Fully featured, but s-l-o-w. Overkill for this simple menu.
YADM  http://www.onlinetools.org/tools/yadm/ 
Close, but when tabbing through the menu the currently focused link 
can't be seen unless you first expand the menu.

Easymenu  http://www.easymenu.co.uk/ 
Also close, but menus are expanded automatically, forcing keyboard 
users to tab through all links.

Neither of these techniques seem to get it all right. At least as far 
as I can tell.

So, have any of you implemented a horizontal, single level dropdown 
menu that you are completely happy with when it comes to accessibility?

/Roger
--
http://www.456bereastreet.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] Accessible dropdown menus

2005-04-14 Thread Roger Johansson
On 14 apr 2005, at 09.07, Dmitry Baranovskiy wrote:
I am not shure is my menu realisation fit to your requierments, but
you could take a look:
http://siter.com.au/dmitry/dyn-3-menu/index.html
On 14 apr 2005, at 09.58, Jeremy Dowe wrote:
There is a new article specially on the advantages and disadvantages
of drop downs. http://www.alistapart.com/articles/hybrid/ - all code
inclusive.
Hi,
Thanks for responding, but nope, neither of those is what I'm looking 
for.

/Roger
--
http://www.456bereastreet.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] Main Content won't Center Align in IE

2005-04-01 Thread Roger Johansson

IE Doesnt understand margin: auto
IE6 does, as does IE5/Mac. Only if you are worried about IE5.*/Win do 
you need the text-align hack.

/Roger
--
http://www.456bereastreet.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] Making accessible a one-text field form with an image submit button?

2005-03-20 Thread Roger Johansson
On 20 mar 2005, at 03.29, Sigurd Magnusson wrote:
Cheers - had wondered about using display:none, but always feel a 
little annoyed there aren't better ways; it surprises me that an alt 
tag on the input type=text / is insufficient.
That's because the alt attribute is only relevant for input elements 
with type=image.

/Roger
--
http://www.456bereastreet.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] Change to application/xhtml+xml breaks background colour.

2005-03-20 Thread Roger Johansson
On 20 mar 2005, at 02.10, Michael Dale wrote:
See the blue behind the header? That should be the background colour  
for the whole site.

Now this only happens when I output application/xhtml+xml. Go have a  
look in IE (which gets text/html), its fine.
Since you've started using application/xhtml+xml, you may be interested  
in something I wrote a while ago:

  
http://www.456bereastreet.com/archive/200501/ 
the_perils_of_using_xhtml_properly/ 

/Roger
**
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] Making accessible a one-text field form with an image submit button?

2005-03-19 Thread Roger Johansson
On 19 mar 2005, at 08.51, Sigurd Magnusson wrote:
However, it seems that even if I put an ALT on the text field, the 
automated WCAG-AA test still fails the form; why??
Because it isn't associated with the text input field, which is what 
needs a label.

I could put the label around the image button, or have a blank one, 
but this sort of defeats the purpose in my opinion... ideas?
If you're determined not to show the label, you can use CSS to hide it 
from visual browsers.

/Roger
--
http://www.456bereastreet.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] quot; or in copy?

2005-02-16 Thread Roger Johansson
On 17 feb 2005, at 03.14, David R wrote:
I mean, provided you send the document from the server as unicode, why 
must we resort to entities for non-reserved characters?
You don't. If you use unicode, you don't have to use character 
references.

/Roger
**
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] Around We Go

2005-02-16 Thread Roger Johansson
On 16 feb 2005, at 21.33, Chris Kennon wrote:
This example of rounded corners  
(http://kalsey.com/2003/07/rounded_corners_in_css/), is elegant and  
efficient, but 2 years old. I've googled til blurry eyed, but have  
only found contemporary examples with 8 nested divs and other  
nightmares.

Would someone guide me to a standards based solution without all the  
gif wrapping?
Take a look at these:
 http://www.456bereastreet.com/archive/200406/css_teaser_box/ 
  
http://www.456bereastreet.com/archive/200406/css_teaser_box_revisited/  

  
http://www.456bereastreet.com/archive/200406/ 
flexible_box_with_custom_corners_and_borders/ 

/Roger
--
http://www.456bereastreet.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] Why DO floats not stretch their containers?

2005-02-10 Thread Roger Johansson
On 11 feb 2005, at 00.17, John Horner wrote:
My question is, *why* is the correct behaviour the first one? It takes 
a lot of people by surprise and they often see what IE does as the 
natural and obvious thing to do.

I'm not trying to start a flame war, I really want to know!
Eric Meyer's Containing Floats article explains it pretty well:
 http://www.complexspiral.com/publications/containing-floats/ 
/Roger
--
http://www.456bereastreet.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] Your opinions about my weblog's new layout

2005-01-16 Thread Roger Johansson
On 16 jan 2005, at 07.44, Bruno Torres wrote:
People using mac please, check it for me (iCapture is not working so I
have nowhere to test on mac browsers).
Nice!
Looks good in Safari, OmniWeb, Opera, and Firefox. The menu bar breaks 
in IE/Mac - the tabs are stacked vertically instead of lining up 
horizontally. I'm guessing that you're floating the tabs and didn't 
specify a width for them, which IE/Mac needs.

FYI: I tried taking a look at your old (current) layout, but something 
crashes Safari every time. Not sure what causes it.

HTH
/Roger
--
http://www.456bereastreet.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] Slightly OT... Interview with IE Dev team

2005-01-06 Thread Roger Johansson
A while a go, I wrote a bit about the problems with IE [1], and asked  
myself (and anyone reading) some questions about why Microsoft has not  
done anything to make IE better in several years.

Several interesting theories are mentioned in the comments, but what I  
think is most likely closest to the truth is in comment #26 [2]. A  
quote:

Microsoft is not improving standards support in IE because they want  
to discourage the use of the browser as a platform for developing  
applications that are not operating system dependant. Improving support  
for CSS, PNG, and other standards such as Xforms, etc. would only make  
the browser a better application platform.

 It doesnt matter if Microsoft owns the browser market. If developers  
switch over to creating standards based web applications Microsoft  
loses control of their customers. Standards based web applications can  
be easily run in competing browsers and, yes, even on competing  
operating systems.

So, you may want to forward this theory and ask them how close to the  
truth it is.

[1]   
http://www.456bereastreet.com/archive/200412/ 
internet_explorer_is_already_breaking_the_web/ 
[2]   
http://www.456bereastreet.com/archive/200412/ 
internet_explorer_is_already_breaking_the_web/#comment2433 

/Roger
--
http://www.456bereastreet.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] Slightly OT... Interview with IE Dev team

2005-01-06 Thread Roger Johansson
On 6 jan 2005, at 19.14, David R wrote:
But I'm convinced Microsoft will make IE7 support standards... why? 
Because VS 2005 supports the entire XHTML1.1 and CSS2.1 spec, even if 
Internet Explorer 6 doesn't. This would be wasting the VS dev team's 
time if they weren't going to make these features available 
commonplace in a short while.
I hope you're right. I've heard about the next version of Visual Studio 
being much better, so it does look promising. Still, it would be 
interesting to hear the IE dev team's response to the quote I sent. I'd 
understand if they aren't able to respond to that (either because they 
aren't allowed to, or because they just don't know).

/Roger
--
http://www.456bereastreet.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] Slow loading of CSS

2005-01-03 Thread Roger Johansson
On 3 jan 2005, at 14.02, Lea de Groot wrote:
Its called a FOUC - a flash of unstyled content.
Does this problem happen with other browsers?
From memory, it only happens in IE5.5 and Safari
(ok, that probably means it happens in Konquerer too...)
Safari? I use it all the time, 10-15 hours a day, and I can't remember 
ever seeing a FOUC in Safari. Could it be that it only happens in the 
very first versions? I didn't use Safari full time until late 2003, 
when Mac OS X 10.3 and Safari 1.1 were released, so I may not have paid 
attention to any FOUC going on in releases before that.

Or have I just been lucky?
/Roger
--
http://www.456bereastreet.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] Checking in as many browsers as possible

2004-12-19 Thread Roger Johansson
On 18 dec 2004, at 20.12, Wong Chin Shin wrote:
I've never failed to be amazed when somebody does a site review 
listing test
results with 10 UAs or more. How many machines do you have running in 
your
cubicle?!?!?
One.
A PowerMac G4 running Mac OS X, with Virtual PC installed. I can run 
any browser for Mac OS 9, Mac OS X, Windows Me, 2000, or XP. I haven't 
installed any form of Linux, but you could do that as well, either 
directly on the Mac or on a Virtual PC disk image.

Some advice for Windows users - don't bother with those Mac emulators 
that only let you run Mac OS 7.5, which was released in 1994. It's like 
checking your stuff in Windows 95. Spend some money on a used iMac or 
PowerMac G4 instead. It doesn't have to be very new - basically 
anything released after 1998 will do (just make sure it can run Mac OS 
X) - so it won't cost you a lot.

/Roger
--
http://www.456bereastreet.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] accessible image form buttons

2004-12-16 Thread Roger Johansson
On 17 dec 2004, at 01.36, Andreas Boehmer wrote:
The problem is the input style doesn't work in all browsers. In
particular Opera and some of the Mac browsers will ignore them, if I
remember correctly.
A couple of months ago, I spent hours (or was it days?) making  
screenshots of styled form controls [1] in various browsers, and can  
confirm this. Safari ignores nearly every attempt at styling, and  
others apply certain styles only. The conclusion is that form controls  
_will_ look very different in different browsers, no matter what you do  
(unless you use JavaScript hackery to create your own controls).

[1]   
http://www.456bereastreet.com/archive/200410/ 
styling_even_more_form_controls/ 

/Roger
**
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] LOCAL XHTML TESTING - HOW TO DO IT?

2004-12-12 Thread Roger Johansson
On 12 dec 2004, at 14.15, Charles Slack wrote:
LOCAL XHTML TESTING - HOW TO DO IT?
An easy way to check how Mozilla based browsers handle it is to change 
the file extension of your XHTML documents from .html to .xhtml. This 
will make Mozilla/Firefox treat it as application/xhtml+xml (check 
View Page Info), and alert you of any well-formedness errors.

/Roger
--
http://www.456bereastreet.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] Defining A Definition List

2004-11-29 Thread Roger Johansson
On 29 nov 2004, at 22.58, Terrence Wood wrote:
While we can argue that the date, author and article name may well be 
a list of meta-data for a news article the content is not... the 
article is the data. I think the concept of a news article is a well 
established one that doesn't need to be abstracted to such degree in 
markup. It's unneccessarily pedantic IMHO.
For the full article, I agree. But what about a sidebar that shows 
excerpts from several news articles, along with their title, date, and 
a link to the full article? Wouldn't that be an appropriate use of a 
definition list?

/Roger
--
http://www.456bereastreet.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] turkish text - can you assign a language or encoding to a div?

2004-11-22 Thread Roger Johansson
On 22 nov 2004, at 23.00, Ted Drake wrote:
If you are doing a web site and you only have sporadic use of turkish 
characters, can't you wrap that text in a div and assign it a 
language? I haven't done this before so I'm asking not suggesting. But 
I thought that I have seen that as a semantic way to show that there 
will be languages other than the native on a page.  Now, is there also 
a way to designate the character encoding on a div or span?
Language, yes. You can use the lang attribute [1] to specify the 
language of any HTML element. Character encoding, no. That is set once 
for the whole document.

[1]  http://www.w3.org/TR/html4/struct/dirlang.html#adef-lang 
/Roger
--
http://www.456bereastreet.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] discussion at juicy studio: It's all in the MIME

2004-11-10 Thread Roger Johansson
On 11 nov 2004, at 01.40, Jason Foss wrote:
Is anyone aware of a good reference on configuring Apache to serve the
files as the correct MIME type? Something in English would be good - a
system administrator I'm not! Does it need to be set up in a per-site
basis (as they're all set up as Virtual Hosts.) I'm assuming this can
be done with .htaccess files?
Some articles about this have been mentioned already, but here are a  
few more, though none of them specifically deal with content  
negotiation in .htaccess files:

[1]  http://www.456bereastreet.com/archive/200408/content_negotiation/  

[2]  http://keystonewebsites.com/articles/mime_type.php 
[3]   
http://www.autisticcuckoo.net/archive.php?id=2004/11/03/content- 
negotiation 

Note the function in [3] to convert XHTML to HTML before sending it as  
text/html.

/Roger
--
http://www.456bereastreet.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] Input File Format

2004-10-08 Thread Roger Johansson
On 7 okt 2004, at 20.42, Genau Junior wrote:
I´m having some dificulty to set the size of [input=file] form element.
I can set the width through CSS on Mozzila, but IE cant set the size 
that i formated on CSS file.

Anyone can help me how i set a size on INPUT FILE on both browsers?
Styling form elements to look the same across browsers and platforms is 
generally not possible, at least not with CSS only. To show how 
different form controls are in different browsers and operating 
systems, I've made a bunch of screen shots of several different form 
controls and how they react to different CSS rules. For each form 
control, there are screen shots from a whole lot (well, eleven right 
now) of different browsers and operating systems:

 http://www.456bereastreet.com/archive/200409/styling_form_controls/ 
/Roger
--
http://www.456bereastreet.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] Mac site check please...

2004-09-28 Thread Roger Johansson
On 28 sep 2004, at 08.37, Francesco wrote:
I am developing using ASP.NET, which we all know is not XHTML 
compliant,
Hi.
You may be interested in the articles at ASP.NET Resources [1], more 
specifically Producing XHTML-Compliant Pages With Response Filters [2], 
which explains how to clean up the mess. I successfully implemented 
this in a recent project, so you can make ASP.NET based sites validate 
:)

[1]  http://aspnetresources.com/ 
[2]  http://aspnetresources.com/articles/HttpFilters.aspx 
/Roger
--
http://www.456bereastreet.com/
**
The discussion list for  http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] website will not show in Safari

2004-09-25 Thread Roger Johansson
On 25 sep 2004, at 17.14, Parker Torrence wrote:
Greetings All,
My name is Parker and I have a problem that is effecting a number of
my websites on a number of domains. It seems that they will not
display in Safari. (but I'm told that the favicon does show up.)
?xml version=1.0 encoding=iso-8859-14?
meta http-equiv=content-type content=text/html; 
charset=iso-8859-14 /
You're right. Nothing at all shows up in Safari. Not even when you view 
source. I'm guessing it has something to do with the character encoding 
you have specified, iso-8859-14, which looks like a typo. Try 
changing it to iso-8859-1 and it should work better.

/Roger
--
http://www.456bereastreet.com/
**
The discussion list for  http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] website will not show in Safari

2004-09-25 Thread Roger Johansson
On 25 sep 2004, at 19.32, Parker Torrence wrote:
not a typo http://www.wordiq.com/definition/ISO_8859-14 but I'm
Ok. It isn't listed in Safari's list of character encodings, so I guess 
Safari just doesn't support it.

http://www.unfolded.net/webdesign/parker-1.php using iso-8859-1
http://www.unfolded.net/webdesign/parker-wasp-t.php using a WaSP
template w/o character encoding.
Both pages display in Safari, with no obvious problems.
/Roger
--
http://www.456bereastreet.com/
**
The discussion list for  http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] question about iframe accessibility

2004-09-21 Thread Roger Johansson
On 21 sep 2004, at 02.26, Ted Drake wrote:
To satisfy level 2 I have a problem with a series of input fields.  
For multiple travelers, we have 10 boxes for ages.  I have a label 
associated with the first age and then alt tags on the following 
inputs.  Should I wrap all ten inputs in the lable tag as I've seen 
elsewhere?  I'd rather not create a label for each ten boxes.   What 
do you think?
Each input should have its own label. Consider what happens when you 
click on a label - the matching form control gets focus or is 
activated. You can use a fieldset to group the input fields.

/Roger
--
http://www.456bereastreet.com/
**
The discussion list for  http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] Better Flexible Rounded Corners Option? and Site Check

2004-09-09 Thread Roger Johansson
On 8 sep 2004, at 22.57, JW wrote:
I am looking for a flexible rounded corners (with borders) that is not
restrictive to size. Googled for some but most are filled with lots of
complex solutions (lots of html meddling and tones of css codes).
Hi.
Take a look at what I came up with a while back:
http://www.456bereastreet.com/lab/flexible_custom_corners_borders/
Related post:
http://www.456bereastreet.com/archive/200406/ 
flexible_box_with_custom_corners_and_borders/

http://www.456bereastreet.com/lab/teaser/one_image/
Related post:
http://www.456bereastreet.com/archive/200406/css_teaser_box/
/Roger
--
http://www.456bereastreet.com/
**
The discussion list for  http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] Better Flexible Rounded Corners Option? and Site Check

2004-09-09 Thread Roger Johansson
On 9 sep 2004, at 15.11, JW wrote:
It shows fine in Firefox, Opera 7 and IE6 but it breaks in IE5. Any
solutions?
Probably box model related, if it breaks in IE5 and not IE6.
I don't have IE5/Win handy here to take a look. In what way does it 
break?

/Roger
--
http://www.456bereastreet.com/
**
The discussion list for  http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] Your Mozilla Vote Counts!

2004-08-22 Thread Roger Johansson
On 22 aug 2004, at 17.23, Vlad Alexander ((XStandard)) wrote:
Mozilla fans, we need your help. The Mozilla version of the
standards-compliant XHTML WYSIWYG editor XStandard is almost ready.
Will that make it work on the Mac as well? I suspect not, but I'm 
hoping :-)

/Roger
--
http://www.456bereastreet.com/
**
The discussion list for  http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] The Tables Revenge

2004-07-06 Thread Roger Johansson
On 5 jul 2004, at 22.43, ckimedia wrote:
I've read this, and found it useful but isn't it retrograde making  
div's into table cells so we can style non tabular data in  a table ?

http://www.456bereastreet.com/archive/200406/ 
equal_height_boxes_with_css_part_ii/
I made that example to show that it's possible to use CSS to vertically  
align content in a div (or other container), or make several containers  
(with an unknown and variable amount of content) the same height. Just  
not in Internet Explorer.
Since this is just visual styling, a table isn't really appropriate  
(unless what you're styling is tabular data, obviously).
If you use a table, you're stuck with a table, and if later on you want  
to change the layout, you will probably need to edit the HTML as well  
as the CSS.

/Roger
--
http://www.456bereastreet.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] Please use plain text in emails

2004-07-05 Thread Roger Johansson
On 5 jul 2004, at 06.58, Hugh Todd wrote:
So, please use plain text in emails if you want to be read.
I second that. Tiny, unreadable text = I hit the delete key.
/Roger
--
http://www.456bereastreet.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] Safari and Opera

2004-06-05 Thread Roger Johansson
On 5 jun 2004, at 12.56, 7 sinz wrote:
Now i dont know if any one else has tried this ; but im trying to hide 
input borders which is working in Mozilla,IE ( all version/platfroms) 
but after doing a few browser cams, i notice that safari still place 
borders around the input's ,the same problem ( with even) the latest 
version of Opera for windows.

Has anyone got a way of doing it?
No. Styling form elements the same across platforms and browsers is not 
possible, since several browsers use the operating system's native 
widgets, and ignore most attempts at styling them.

/Roger
--
http://www.456bereastreet.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] Correct way to swap style sheets based on Browser?

2004-05-31 Thread Roger Johansson
On 31 maj 2004, at 06.17, Justin French wrote:
Then we @import an advanced style sheet over the top for modern 
browsers.  IE4 and NN4 won't see this style sheet, because they don't 
support the @import function.

	style type='text/css' @import url(css/modern.css); /style
IE4 actually does support @import, and will load the css file in the 
above example. However, if you specify the URL in a slightly different 
way it won't:

@import css/modern.css;
/Roger
--
http://www.456bereastreet.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] quotes on q tag

2004-05-31 Thread Roger Johansson
On 31 maj 2004, at 08.34, Lea de Groot wrote:
How are people handling putting quotes on q tags?
I used a quote yesterday and while moz (I think) and Safari both had
quotes built in, IE did not.
Is there a definitive approach?
I though I might do it manually (and thus reliably), but setting
q {
  quotes: none;
 }
didnt seem to affect the compliant browsers.
IE/Win doesn't support the q element properly, so you can either let 
users of that browser miss out on the quotes, or add quotes manually 
and use CSS to turn off the automatically added quotes in modern 
browsers:

q {
quotes:none;
}
q:before {
content: ;
}
q:after {
content: ;
}
The above does not work in IE5/Mac, so people using that will get 
double quotes.

This way you can use the typographically correct quote marks for the 
language used, and not the standard  that all browsers seem to add by 
default.

/Roger
--
http://www.456bereastreet.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] IE Max-width Emulation and Auto Centre

2004-05-31 Thread Roger Johansson
On 31 maj 2004, at 20.39, Mike Pepper wrote:
One other issue: I'd like to maintain these product icons and  
associated
text  
http://www.english-sofas.co.uk/els_new/ 
contemporary_leather_sofas_1.htm
as auto-centre but I'm holding each model as a constrained image and  
text
within a single href. There are ways to achieve this by folding each  
href in
a div but I'm looking for an elegant solution.
Not sure what you mean by auto-centre. The product images and their  
associated text look horizontally centered to me.
There is a slight problem in Safari though. Because the images are  
wrapped in the links, and are treated as inline content, they get an  
underline on hover, just like the text below them. You can fix it by  
adding display:block to the .model img rule.

/Roger
--
http://www.456bereastreet.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
*