Re: [WSG] mixing media queries?

2010-11-09 Thread Micky Hulse
On Tue, Nov 9, 2010 at 8:59 PM, tee  wrote:
> ..
> My various tests show that it's not possible to have more than 2 rules put 
> together.

Hi!

Sounds like a fun project that you are tackling!

I am not sure I can help much, but if you have time to browse the net,
maybe the info on via these links will be of some help:

1.
"W3C Media Queries"


2.
"Mobile-friendly: The mobile web optimization guide"


3.
"ProtoFluid: Rapid Prototyping of Adaptive CSS and Responsive Design."


4.
"Smashing Magazine: How To Use CSS3 Media Queries To Create a Mobile
Version of Your Website"


>From the W3C site:

[[

Several media queries can be combined in a media query list. A
comma-separated list of media queries. If one or more of the media
queries in the comma-separated list are true, the whole list is true,
and otherwise false. In the media queries syntax, the comma expresses
a logical OR, while the ‘and’ keyword expresses a logical AND.

]]

Based on what I am reading above, if I am understanding it correctly
(I am 3 glasses of wine deep atm) maybe your logic is a little off in
terms of one of the bits of logic being false, so that makes the whole
statement false? You might play around with Protofluid app and work
with the comma vs. the AND (or combo of both.)

I hope that helps!

Cheers,
Micky

-- 
Micky Hulse
Web Content Editor
The Register-Guard
3500 Chad Drive
Eugene, OR 97408
Phone: (541) 338-2621
Fax: (541) 683-7631
Web: 


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] mixing media queries?

2010-11-09 Thread tee
Thanks, one of them might be part of the solution.

I have a need that I want to target all devices in one place (all smartphones 
and iPad portrait and landscape) that can't handle @font-face , though these 
devices are able to pick up the second font but the font-weight is set to 
normal for desktop device, the text does not look good with normal font weight 
for the second font, so I need to make it bold and make the color darken.

With what I have now (for smartphones and iPad portrait) I need to declare it 3 
times for iPad portrait, landscape and smartphone devices.

So if I use this it cuts down to two:
@media only screen and 
and (min-device-width : 768px) 
and (max-device-width : 1024px)

Will the above applies to device that is of 1024px? I don't know any yet (but 
in my dream Dell released one with a clunky Magenta color keyboard just last 
month) but my guess is if any PC maker releases touchscreen device it will not 
be locked down to Safari but all other advanced browsers therefor @font-face 
should work and I don't want it to inherit the above rule.

My various tests show that it's not possible to have more than 2 rules put 
together.

tee 


On Nov 9, 2010, at 8:13 PM, Micky Hulse wrote:

> On Tue, Nov 9, 2010 at 7:14 PM, tee  wrote:
>> Is it possible or something is wrong with my rule:
> 
> Not sure if this site will help, but...
> 
> 
> 
> Depending on what you are doing, there are some pretty good recipes
> via the above site.
> 
> Cheers,
> Micky
> 
> -- 
> Micky Hulse
> Web Content Editor
> The Register-Guard
> 3500 Chad Drive
> Eugene, OR 97408
> Phone: (541) 338-2621
> Fax: (541) 683-7631
> Web: 
> 
> 
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: memberh...@webstandardsgroup.org
> ***
> 



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] mixing media queries?

2010-11-09 Thread Micky Hulse
On Tue, Nov 9, 2010 at 7:14 PM, tee  wrote:
> Is it possible or something is wrong with my rule:

Not sure if this site will help, but...



Depending on what you are doing, there are some pretty good recipes
via the above site.

Cheers,
Micky

-- 
Micky Hulse
Web Content Editor
The Register-Guard
3500 Chad Drive
Eugene, OR 97408
Phone: (541) 338-2621
Fax: (541) 683-7631
Web: 


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



[WSG] mixing media queries?

2010-11-09 Thread tee
Is it possible or something is wrong with my rule:

@media only screen and (orientation: portrait) and (device-width: 768px) and 
(max-width: 480px){

}

If I target the element in each query it works but not with the above .

The closest example I found from w3c site is below which does give me an 
impression that it's possible to mix different rules.

@media screen and (min-width: 400px) and (max-width: 700px) 


Thanks!

tee




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] lazyweb://schema.agnostic.URLs

2010-11-09 Thread Micky Hulse
On Tue, Nov 9, 2010 at 6:17 PM, Andrew Harris  wrote:
>> works fine.
>> http://www.no-http.org/
>> http://www.webreference.com/html/tutorial2/3.html

Interesting! Thanks for sharing.

Learn something new every day.

I wonder how many folks don't specify the http: part? It sounds like
there are no drawbacks.

M


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] lazyweb://schema.agnostic.URLs

2010-11-09 Thread Andrew Harris
oh, thank you!

On Wed, Nov 10, 2010 at 12:58 PM, Mathew Robertson
 wrote:
> works fine.
> http://www.no-http.org/
> http://www.webreference.com/html/tutorial2/3.html
> cheers,
> Mathew Robertson

-- 
Andrew Harris
and...@woowoowoo.com
http://www.woowoowoo.com

~~~ <*>< ~~~


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] lazyweb://schema.agnostic.URLs

2010-11-09 Thread Mathew Robertson
works fine.

http://www.no-http.org/
http://www.webreference.com/html/tutorial2/3.html

cheers,
Mathew Robertson

On 10 November 2010 12:38, Andrew Harris  wrote:

> I remember a discussion about this a long time ago, can't remember if
> it was on this list, but someone might remember...
>
> * We're a big university: lots of pages!
> * We want to use one master style sheet as much as possible, to
> maximise caching, minimise management etc.
> * The images referenced in the style sheet are absolutely referenced
> so that sites that are not on the same domain can still benefit from
> centralised, cached images and not have to have duplicate local
> copies.
> * This breaks a bit when a site switches a user to SSL :-(
>
> I once read that you could reference an absolute URL independent of
> the schema, so that instead of:
> http://some.domain.com/a/path
> you could use:
> //some.domain.com/a/path
> and that the reference would just adopt the current schema, http or
> https making everybody happy.
>
> Initial limited tests show me that this might work, but I can't find
> the source of the information now, or even whether it's correct usage
> - can anyone shed some light?
> or even offer an alternative solution!
>
> I'm vaguely thinking there might be an elegant apache solution for
> serving the right CSS.
>
> --
> Andrew Harris
> and...@woowoowoo.com
> http://www.woowoowoo.com
>
> ~~~ <*>< ~~~
>
>
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: memberh...@webstandardsgroup.org
> ***
>
>


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***

[WSG] lazyweb://schema.agnostic.URLs

2010-11-09 Thread Andrew Harris
I remember a discussion about this a long time ago, can't remember if
it was on this list, but someone might remember...

* We're a big university: lots of pages!
* We want to use one master style sheet as much as possible, to
maximise caching, minimise management etc.
* The images referenced in the style sheet are absolutely referenced
so that sites that are not on the same domain can still benefit from
centralised, cached images and not have to have duplicate local
copies.
* This breaks a bit when a site switches a user to SSL :-(

I once read that you could reference an absolute URL independent of
the schema, so that instead of:
http://some.domain.com/a/path
you could use:
//some.domain.com/a/path
and that the reference would just adopt the current schema, http or
https making everybody happy.

Initial limited tests show me that this might work, but I can't find
the source of the information now, or even whether it's correct usage
- can anyone shed some light?
or even offer an alternative solution!

I'm vaguely thinking there might be an elegant apache solution for
serving the right CSS.

-- 
Andrew Harris
and...@woowoowoo.com
http://www.woowoowoo.com

~~~ <*>< ~~~


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



[WSG] Re: Taxonomy workshop worth really worth attending

2010-11-09 Thread Nerida Hart
Dear all

That should have said March 2011

Sorry

Nerida

On 10 November 2010 07:22, Nerida Hart  wrote:

> Dear all
>
> In March 2001 Patrick Lambe of Straits Knowledge will be visiting Australia
> and running his (absolutely fabulous) Taxonomy workshops.  I have known
> Patrick for many years and he is the only person I know who can put the
> language of taxonomies in lay persons terms and still get across the
> technical detail.  I recently saw him in action at the Special Libraries
> Association conference in New Orleans (June 2010) and he had the entire
> audience spellbound. There were a number of people who came up to him
> afterwards and told him the cost of the conference was worth it just for his
> presentation (and this is a conference which attracts over 5,000 special
> librarians from across the world).
>
> This course is highly recommended (and not just for librarians - so bring
> along others from your organisation who have responsibilities in the
> taxonomy area - or even your managers who just don't get why taxonomies are
> important and what it means for them).
>
> Full details can be found on the event web site at
> http://innotecture.com.au/taxonomy/
>
> PS only 2 days left for early bird registration
>
> Cheers
>
> Nerida
>
> --
> Nerida Hart
> HartKnowledge Consulting
> PO Box 483
> Queanbeyan NSW 2620
> Phone +61 418 423 270
> Skype neridahartau
> Twitter neridahart
> Web http://hartknowledge.wordpress.com
>
> *Talkers have always ruled. They will continue to rule. The smart thing is
> to join them (Bruce Barton)
>
> Great things are not done by impulse, but by a series of small things
> brought together. ~ Vincent van Gogh*
>
>
>


-- 
Nerida Hart
HartKnowledge Consulting
PO Box 483
Queanbeyan NSW 2620
Phone +61 418 423 270
Skype neridahartau
Twitter neridahart
Web http://hartknowledge.wordpress.com

*Talkers have always ruled. They will continue to rule. The smart thing is
to join them (Bruce Barton)

Great things are not done by impulse, but by a series of small things
brought together. ~ Vincent van Gogh*


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***

[WSG] Taxonomy workshop worth really worth attending

2010-11-09 Thread Nerida Hart
Dear all

In March 2001 Patrick Lambe of Straits Knowledge will be visiting Australia
and running his (absolutely fabulous) Taxonomy workshops.  I have known
Patrick for many years and he is the only person I know who can put the
language of taxonomies in lay persons terms and still get across the
technical detail.  I recently saw him in action at the Special Libraries
Association conference in New Orleans (June 2010) and he had the entire
audience spellbound. There were a number of people who came up to him
afterwards and told him the cost of the conference was worth it just for his
presentation (and this is a conference which attracts over 5,000 special
librarians from across the world).

This course is highly recommended (and not just for librarians - so bring
along others from your organisation who have responsibilities in the
taxonomy area - or even your managers who just don't get why taxonomies are
important and what it means for them).

Full details can be found on the event web site at
http://innotecture.com.au/taxonomy/

PS only 2 days left for early bird registration

Cheers

Nerida

-- 
Nerida Hart
HartKnowledge Consulting
PO Box 483
Queanbeyan NSW 2620
Phone +61 418 423 270
Skype neridahartau
Twitter neridahart
Web http://hartknowledge.wordpress.com

*Talkers have always ruled. They will continue to rule. The smart thing is
to join them (Bruce Barton)

Great things are not done by impulse, but by a series of small things
brought together. ~ Vincent van Gogh*


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***