Re: [css-d] REM units

2013-01-14 Thread David Hucklesby
On 1/14/13 1:46 PM, Jukka K. Korpela wrote: 2013-01-14 23:18, Tom Livingston wrote: I've been looking into rem units and noticed that the only fallback i've seen written about is px. Can you not fallback to em? The fallback is generally going to be for IE < 9, and they can't resize things set i

Re: [css-d] Media queries and em's

2013-01-14 Thread David Laakso
On Sun, Jan 13, 2013 at 12:35 PM, Kuzeko Web Design - Matteo Lissandrini wrote: > Hi all, > I would like to work on my new project building Responsive layouts making > use of flexible em-based media queries instead of pixel based. > Did you tried this approach, is there anything I should pay atte

Re: [css-d] Zebra Stripes effect with CSS and jQuery

2013-01-14 Thread Philippe Wittenbergh
Le 15 janv. 2013 à 09:33, Anthony a écrit : > My main issue is that the javascript code is not appending an odd > class for each tr. Maybe it's just my expectations of what should > happen that are incorrect. > > I was expecting the code I've got to change my html as follows > > > Is this wha

Re: [css-d] Zebra Stripes effect with CSS and jQuery

2013-01-14 Thread Anthony
My main issue is that the javascript code is not appending an odd class for each tr. Maybe it's just my expectations of what should happen that are incorrect. I was expecting the code I've got to change my html as follows Is this what should happen? Or have I got it all wrong? On Tue, Jan 15, 2

Re: [css-d] Zebra Stripes effect with CSS and jQuery

2013-01-14 Thread Philippe Wittenbergh
Le 14 janv. 2013 à 12:12, Anthony a écrit : > What am I missing? ::sigh:: Without a link, it is impossible to help you. Have you checked with the debugging tools provided by most browsers? Error consoles, WebKit inspector, Firebug, etc will provide you with lots of information. There could b

Re: [css-d] Media queries and em's

2013-01-14 Thread Tedd Sperling
On Jan 13, 2013, at 2:50 PM, John Snippe wrote: > On 2013-01-13, at 2:09 PM, Tedd Sperling wrote: > >> Additionally, here is something that helped me -- when converting from >> pixels to em simply divide by 16. >> >> For example, an image that is 16 pixels wide is also 1 em wide. > > If I reca

Re: [css-d] Media queries and em's

2013-01-14 Thread Felix Miata
On 2013-01-14 15:55 (GMT-0500) Eric composed: html {font-size: 16px;} Then all REMs on the page will be 16px no matter what eles. Not quite. Notwithstanding that styling text in px ignores the wide variation in effective pixel density and rudely disregards the visitor's optimum text size,

Re: [css-d] REM units

2013-01-14 Thread Jukka K. Korpela
2013-01-14 23:18, Tom Livingston wrote: I've been looking into rem units and noticed that the only fallback i've seen written about is px. Can you not fallback to em? The fallback is generally going to be for IE < 9, and they can't resize things set in px, if need be, so will em work instead?

Re: [css-d] Media queries and em's (Philip TAYLOR)

2013-01-14 Thread Eric
>I doubt that. em is a unit relative to the current font size. >http://en.wikipedia.org/wiki/Em_%28typography%29 > says: "Thus, em >generally means the point size of the font in question." So if for one >particular font size 1em is 16 pixels, for a

Re: [css-d] The 'all' propert

2013-01-14 Thread Jukka K. Korpela
2013-01-14 22:44, Tom Livingston wrote: Any idea how this would be used? For example, the widget example mentioned on that page: .widget{ all: default; color: blue; font-weight: bold; } So, over riding any inheritance, then setting the isolated styles for this widget? That

Re: [css-d] The 'all' propert

2013-01-14 Thread Tom Livingston
Thanks Yucca, Any idea how this would be used? For example, the widget example mentioned on that page: .widget{ all: default; color: blue; font-weight: bold; } So, over riding any inheritance, then setting the isolated styles for this widget? On Mon, Jan 14, 2013 at 3:22 PM, J

Re: [css-d] The 'all' propert

2013-01-14 Thread Jukka K. Korpela
2013-01-14 22:00, Tom Livingston wrote: Anyone have more info on this: http://www.w3.org/TR/2013/WD-css3-cascade-20130103/#all specifically the bit in Example 4 where it mentions setting 'all:default' on an element. This looks interesting but I can't find anything more about it. It's an add

[css-d] The 'all' propert

2013-01-14 Thread Tom Livingston
Anyone have more info on this: http://www.w3.org/TR/2013/WD-css3-cascade-20130103/#all specifically the bit in Example 4 where it mentions setting 'all:default' on an element. This looks interesting but I can't find anything more about it. I might just be misinterpreting what this is saying. A q

Re: [css-d] Media queries and em's

2013-01-14 Thread Kuzeko Web Design - Matteo Lissandrini
Apologize. I'm sorry if I sounded rude or pretentious, I though that I was missing something about that site. That's it. -- Kuzeko On 14 January 2013 11:56, Philip TAYLOR wrote: > > > Kuzeko Web Design - Matteo Lissandrini wrote: > > > I'm sorry Philip, but I may have missed

Re: [css-d] Media queries and em's

2013-01-14 Thread Philip TAYLOR
Kuzeko Web Design - Matteo Lissandrini wrote: > I'm sorry Philip, but I may have missed something... > Why recommending this particular website among the thousands available > (e.g. http://MediaQueri.es )? Simply because I had occasion to visit it recently and was pleased to see how well it han

Re: [css-d] Media queries and em's

2013-01-14 Thread Kuzeko Web Design - Matteo Lissandrini
I'm sorry Philip, but I may have missed something... Why recommending this particular website among the thousands available (e.g. http://MediaQueri.es )? Additionally that one does not use the technique I'm researching. On 14 January 2013 11:23, Philip TAYLOR wrote: > http://ccstudi.com/

Re: [css-d] Media queries and em's

2013-01-14 Thread Philip TAYLOR
Kuzeko Web Design - Matteo Lissandrini wrote: > Yes, you are right I expressed it the wrong way. > So, do you have any particular suggestion? Well, no : not more than I have already said. You might like to look at David Laakso's web site, into which he has been putting considerable effort to m

Re: [css-d] Media queries and em's

2013-01-14 Thread Kuzeko Web Design - Matteo Lissandrini
Yes, you are right I expressed it the wrong way. So, do you have any particular suggestion? -- Kuzeko On 13 January 2013 21:37, Philip TAYLOR wrote: > > > > > Kuzeko Web Design - Matteo Lissandrini wrote: > > > Yes, Christian is right, exactly from this observation come my