[WSG] Testing styling availability when using JavaScript

2010-08-05 Thread Foskett, Mike
Hi All, Is there any advantage to testing the availability of styling before running scripts? The scenario I'm thinking of is JS available but no CSS, either unavailable or switched off. Something like: var cssOn; var gotStyle=function(){ function init(){ // Simon Willisons -

[WSG] @media ordering in stylesheet

2010-08-05 Thread Jody Tate
Hi all, Does @media rule ordering in a stylesheet matter? For example, given the following order: @media print { body { #FF; } } @media all { body { #99; } } Will @media print override the @media all in this ordering?

RE: [WSG] @media ordering in stylesheet

2010-08-05 Thread Erickson, Kevin (DOE)
No, the last one overrides the ones before it. Kevin -Original Message- From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Jody Tate Sent: Thursday, August 05, 2010 1:21 PM To: wsg@webstandardsgroup.org Subject: [WSG] @media ordering in stylesheet Hi

Re: [WSG] @media ordering in stylesheet

2010-08-05 Thread David Storey
On 5 Aug 2010, at 19:20, Jody Tate wrote: Hi all, Does @media rule ordering in a stylesheet matter? For example, given the following order: @media print { body { #FF; } } @media all { body { #99; } } Will @media

Re: [WSG] @media ordering in stylesheet

2010-08-05 Thread Russ Weakley
Hey Jody, First of all, the rules are incorrectly written. you need to include a property in front of the value: @media print { body { color: #FF; } } @media all { body { color: #99; } } Secondly, the winner is the second rule. @media rules are just containers

Re: [WSG] @media ordering in stylesheet

2010-08-05 Thread Jody Tate
Thanks for the responses. I needed the experts in the group to confirm my suspicions. Best, jody *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm

Re: [WSG] @media ordering in stylesheet

2010-08-05 Thread Russ Weakley
wow - three answers for the price of one :) On 06/08/2010, at 3:45 AM, David Storey wrote: No. the @media all will apply (well if there were any valid rules in the block). If the specificity is the same (as is the case in this example) and the query conditions both apply then source

[WSG] :: opera mini 5.1 ::

2010-08-05 Thread David Laakso
markup http://chelseacreekstudio.com/site/portfolio/01.php css around line 669 http://chelseacreekstudio.com/site/css/sisu.css The image does not fill the width of the window in Sanyo Mirro scp3810 for BoostMobile running Opera Mini 5.1 nor in the Opera Mini Simulator.

Re: [WSG] :: opera mini 5.1 ::

2010-08-05 Thread tee
Hi David, Having done 2 full sites+ many exercise mobile sites, I view at Opera Mini (including the Mobile 10) the Internet Explorer 6+7, it's a browser one will hate it, curse it more than praise it :-( I think the problem might be this: body#p #main img {border: 3px solid red;display:

Re: [WSG] :: opera mini 5.1 ::

2010-08-05 Thread Duncan Hill
On Thu, 05 Aug 2010 19:27:24 +0100, David Laakso da...@chelseacreekstudio.com wrote: markup http://chelseacreekstudio.com/site/portfolio/01.php css around line 669 http://chelseacreekstudio.com/site/css/sisu.css The image does not fill the width of the window in Sanyo Mirro scp3810 for

Re: [WSG] :: opera mini 5.1 ::

2010-08-05 Thread David Laakso
tee wrote: Hi David, I think the problem might be this: body#p #main img {border: 3px solid red;display: block; max-width : 96% !important; height : auto !important; margin : 20px 0 0 0; } Should it not be body#p, #main img? tee #p is the id for the styles specific to the portfolio

Re: [WSG] :: opera mini 5.1 ::

2010-08-05 Thread David Laakso
Duncan Hill wrote: On Thu, 05 Aug 2010 19:27:24 +0100, David Laakso da...@chelseacreekstudio.com wrote: markup http://chelseacreekstudio.com/site/portfolio/01.php Best, ~d Only an old Nokia N80 to test on. Messed with Opera Mini settings and the only way to get the image to display at

Re: [WSG] :: opera mini 5.1 ::

2010-08-05 Thread tee
I sent you a screenshot taken from Opera Mini directly from iPod using landscape view It might go into your junk box. I am quite certain the image is the result of the max-width declaration in your img and the horizontal scrolling is the product of EM width with the combination of max-width.

Re: [WSG] :: opera mini 5.1 ::

2010-08-05 Thread David Laakso
tee wrote: I sent you a screenshot taken from Opera Mini directly from iPod using landscape view It might go into your junk box. I am quite certain the image is the result of the max-width declaration in your img and the horizontal scrolling is the product of EM width with the combination of

Re: [WSG] :: opera mini 5.1 ::

2010-08-05 Thread David Laakso
David Laakso wrote: tee wrote: I sent you a screenshot taken from Opera Mini directly from iPod using landscape view It might go into your junk box. I am quite certain the image is the result of the max-width declaration in your img and the horizontal scrolling is the product of EM width

Re: [WSG] :: opera mini 5.1 ::

2010-08-05 Thread David Storey
On 5 Aug 2010, at 21:12, tee wrote: Hi David, Having done 2 full sites+ many exercise mobile sites, I view at Opera Mini (including the Mobile 10) the Internet Explorer 6+7, it's a browser one will hate it, curse it more than praise it :-( What are your issues with Opera Mobile (Opera

Re: [WSG] :: opera mini 5.1 ::

2010-08-05 Thread tee
On Aug 5, 2010, at 2:05 PM, David Storey wrote: On 5 Aug 2010, at 21:12, tee wrote: Hi David, Having done 2 full sites+ many exercise mobile sites, I view at Opera Mini (including the Mobile 10) the Internet Explorer 6+7, it's a browser one will hate it, curse it more than praise

Re: [WSG] :: opera mini 5.1 ::

2010-08-05 Thread tee
1. Pre tag - in portrait view if a line of content is longer than the device width, it doesn't wrap. Correction! Not that it doesn't wrap (can pre tag wrap? I thought not), I think it's the font size (even in % and EM) does not re-adjust like other two do when you switch from Landscape to

Re: [WSG] :: opera mini 5.1 ::

2010-08-05 Thread Duncan Hill
On Thu, 05 Aug 2010 21:41:33 +0100, David Laakso da...@chelseacreekstudio.com wrote: Whoops. Hit send too soon. Here's the rest of it... Got the iPod screenshot, thanks -- will look into it. The image issue has been resloved in the Opera Mini Simulator and in the Sany Mirro handset [a

Re: [WSG] :: opera mini 5.1 ::

2010-08-05 Thread David Storey
On 6 Aug 2010, at 00:48, tee wrote: On Aug 5, 2010, at 1:41 PM, David Laakso wrote: Whoops. Hit send too soon. Here's the rest of it... Got the iPod screenshot, thanks -- will look into it. The image issue has been resloved in the Opera Mini Simulator and in the Sany Mirro handset [a

[WSG] Accessibility in Australia

2010-08-05 Thread Sue Choong
Is it mandatory for all australian websites to be accessible or does this only apply to government websites? Just a little confused after reading article below which only mentioned government sites. Http://bit.ly/dddhz8 Thanks in advance. Sue On 06/08/2010, at 9:06 AM, Josh Godsiff

RE: [WSG] Accessibility in Australia

2010-08-05 Thread Webb, KerryA
From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Sue Choong Sent: Friday, 6 August 2010 9:31 AM To: wsg@webstandardsgroup.org Subject: [WSG] Accessibility in Australia Is it mandatory for all australian websites to be

Re: [WSG] :: opera mini 5.1 ::

2010-08-05 Thread David Storey
On 5 Aug 2010, at 23:51, tee wrote: On Aug 5, 2010, at 2:05 PM, David Storey wrote: On 5 Aug 2010, at 21:12, tee wrote: Hi David, Having done 2 full sites+ many exercise mobile sites, I view at Opera Mini (including the Mobile 10) the Internet Explorer 6+7, it's a browser one will

RE: [WSG] Accessibility in Australia

2010-08-05 Thread Bailey, Evan
Presumably also all website which are accessed by Australians, as an Australian could complain to Aust Human Rights Commission about being discriminated against if website is not accessible. Evan Bailey A/Manager Knowledge Sharing Services Learning Initiatives and TAFE Services Centre for

Re: [WSG] Accessibility in Australia

2010-08-05 Thread Josh Godsiff
It's worth nothing that typically speaking, they don't. I imagine the threshold for accessibility is quite low, too. Presumably also all website which are accessed by Australians, as an Australian could complain to Aust Human Rights Commission about being discriminated against if

Re: [WSG] Accessibility in Australia

2010-08-05 Thread Josh Godsiff
Noting even, not nothing. It's worth nothing that typically speaking, they don't. I imagine the threshold for accessibility is quite low, too. Presumably also all website which are accessed by Australians, as an Australian could complain to Aust Human Rights Commission

Re: [WSG] :: opera mini 5.1 ::

2010-08-05 Thread David Laakso
Duncan Hill wrote: On Thu, 05 Aug 2010 21:41:33 +0100, David Laakso da...@chelseacreekstudio.com wrote: Having checked in Opera desktop, which does respond to the @media queries, and the N80, I have a suspicion that there may be something in your header that is maintaining a side scroll on

Re: [WSG] :: opera mini 5.1 ::

2010-08-05 Thread David Laakso
tee wrote: This site may give you a general idea how much it may cost your mobile user per page. http://mobiready.com tee Granted all 7 images in the portfolio section are heavy, Nevertheless, the mobile device is SanyoMirro [ a low-end handset-- it is not a smart-phone ] for

Re: [WSG] :: opera mini 5.1 ::

2010-08-05 Thread tee
Checked one of a mobile sites I did that has inline image larger than 480px and no width/height attributes were declared in the CSS and markup, but Opera Mini is able to resize the image fits in the screen. I think I have a fine guess what has gone wrong with your inline image-it's simply too

Re: [WSG] :: opera mini 5.1 ::

2010-08-05 Thread tee
I forgot to mention, when switching between portrait and landscape, Opera Mini dosen't auto re-adjust and refresh the layout, you need to refresh it manually if you try to see the examples from the O browser. This bug gave a false impression the first time I used Opera Mini, that the media

Re: [WSG] :: opera mini 5.1 ::

2010-08-05 Thread David Laakso
tee wrote: Checked one of a mobile sites I did that has inline image larger than 480px ...trimmed, thanks [I think :-) ]. Oh, easy for Leonardo. -- Dylan Thomas -- http://chelseacreekstudio.com/ *** List Guidelines: