Re: [css-d] Webkit syntax for stopped linear gradient

2014-09-17 Thread Tim Dawson
On 17/09/2014 01:25, Philippe Wittenbergh wrote: Do you happen to have a -moz- prefixed rule as well? Check the developer tools in Firefox, it will almost certainly show you that it uses the prefixed one, not the un-prefixed, standard one. You're right, I've always had a -moz- prefixed rule

Re: [css-d] Webkit syntax for stopped linear gradient

2014-09-17 Thread Tim Dawson
On 17/09/2014 01:25, Philippe Wittenbergh wrote: Your error in the standard syntax is in the direction keyword. The correct syntax requires a “TO” (or in your case, a top-to-bottom gradient, you can omit the direction keyword altogether, as top-to-bottom is the default). So the correct syntax

Re: [css-d] Webkit syntax for stopped linear gradient

2014-09-17 Thread Philippe Wittenbergh
Le 17 sept. 2014 à 16:14, Tim Dawson t...@ramasaig.com a écrit : Given what I read there (4.1.2 Linear Gradient Examples, EXAMPLE 12) background-image: linear-gradient(#1B91FF 60%, #FEC409 60%, #FEC409 100%); Yes, in your case (the gradient goes from top to bottom), as I note in my

[css-d] Style iFrame Scroll Bars

2014-09-17 Thread Crest Christopher
I found these rules for styling an iFrame scroll bar, they are suppose to work in all browsers, not only IE. Unfortunately these rules are not working in Chrome ? 1. |html, body {| 2. |scrollbar-face-color: #D9DEE1;| 3. |scrollbar-highlight-color: #D9DEE1;| 4. |scrollbar-shadow-color:

[css-d] More ems fun!

2014-09-17 Thread John
I have a situation in which I modified my header logo and tag line to be wrapped in an h1 tag and now it seems that my alignment of header elements doesn’t respect the left edge they had before, and the value of em seems to be way off…I increased my tag line to enable the line not to break by

Re: [css-d] More ems fun!

2014-09-17 Thread Tom Livingston
Seems like a compounding issue. I don't really recommend putting your h2 inside your h1. On Wed, Sep 17, 2014 at 2:19 PM, John j...@coffeeonmars.com wrote: I have a situation in which I modified my header logo and tag line to be wrapped in an h1 tag and now it seems that my alignment of header

Re: [css-d] More ems fun!

2014-09-17 Thread Tom Livingston
If not compounding then it's the relation of the width in ems and the font-sizes. EMs used for things other than font-size (like width or margin) are relative to the font-size of *the element it is applied to*. On Wed, Sep 17, 2014 at 2:19 PM, John j...@coffeeonmars.com wrote: I have a situation

Re: [css-d] rem units and %

2014-09-17 Thread John
On Sep 16, 2014, at 7:35 PM, Eric e...@minerbits.com wrote: Did you read on this list that the REM unit is only for type? - It's a relative unit like any other relative unit. I use it for everything except element widths (they get %s) and line-height that should be unitless. No, I mean

Re: [css-d] More ems fun!

2014-09-17 Thread John
On Sep 17, 2014, at 12:41 PM, Crest Christopher crestchristop...@gmail.com wrote: The H2 in your #taglinebox couldn't that be put in a p tag, it's quite small text ? Absolutely, it could, and I tried that and suddenly that little tag got huge..there’s something going on with that that I

Re: [css-d] More ems fun!

2014-09-17 Thread Crest Christopher
Span tags inside an H1 is suppose to help SEO, that would be news to me ! John wrote: On Sep 17, 2014, at 12:41 PM, Crest Christophercrestchristop...@gmail.com wrote: The H2 in your #taglinebox couldn't that be put in ap tag, it's quite small text ? Absolutely, it could, and I tried

Re: [css-d] More ems fun!

2014-09-17 Thread Tom Livingston
On Wed, Sep 17, 2014 at 4:31 PM, Crest Christopher crestchristop...@gmail.com wrote: Span tags inside an H1 is suppose to help SEO, that would be news to me ! John wrote: h1 a href=index.php spanMy Headline Text/span !-- for SEO -- img src=images/logo.jpg id=logo

Re: [css-d] More ems fun!

2014-09-17 Thread John
On Sep 17, 2014, at 1:31 PM, Crest Christopher crestchristop...@gmail.com wrote: Span tags inside an H1 is suppose to help SEO, that would be news to me ! Here is the reasoning, as I understand it..I am not an SEO whiz.. You have your logo - in most cases an image, but aside from alt text,

Re: [css-d] More ems fun!

2014-09-17 Thread Tim Climis
h1 span{ display:none; } prevents that from being seen (because the logo presumably says Bob's hot dog palace) but since it's in an h1, you get the benefits of better SEO results..that is my understanding of why to use this technique. Why not just h1 {display:none} ? ---Tim

Re: [css-d] More ems fun!

2014-09-17 Thread Karl DeSaulniers
On Sep 17, 2014, at 4:28 PM, Tim Climis tim.cli...@gmail.com wrote: h1 span{ display:none; } prevents that from being seen (because the logo presumably says Bob's hot dog palace) but since it's in an h1, you get the benefits of better SEO results..that is my understanding of why to use

Re: [css-d] rem units and %

2014-09-17 Thread Felix Miata
John wrote on 2014-09-17 12:49 (GMT-0700): I mean that in my gathering information about proper use of rems, I’m looking far and wide (online, people I know) and there is a disagreement as to how rem units should be used. One of the rem unit's important features, if not its most important, is

Re: [css-d] More ems fun!

2014-09-17 Thread John E. Cavanaugh
Help! I started getting these email at random - I never signed up, and I don't know what this about. How do I get off the mailing list? John E. Cavanaugh MD. There's always a wrong way to do the right thing ... Cavanaugh's Law On Sep 17, 2014, at 13:19, John j...@coffeeonmars.com wrote: I

Re: [css-d] Style iFrame Scroll Bars

2014-09-17 Thread Philippe Wittenbergh
Le 18 sept. 2014 à 00:28, Crest Christopher crestchristop...@gmail.com a écrit : I found these rules for styling an iFrame scroll bar, they are suppose to work in all browsers, not only IE. Unfortunately these rules are not working in Chrome ? 1. |html, body {| 2.

Re: [css-d] Style iFrame Scroll Bars

2014-09-17 Thread Crest Christopher
I wanted to make a flat, simple style color, even you Philippe would like the subtle change I would do :-) Since I can't change iFrame Scroll bar, and there is no other alternative, I'll have to be happy with the defaults ! Philippe Wittenbergh wrote: Le 18 sept. 2014 à 00:28, Crest

Re: [css-d] rem units and %

2014-09-17 Thread Crest Christopher
There needs to be a guideline on EM's REM's what about using them for positioning. I was helped from someone on this list with that a few weeks ago regarding using them as positioning. This topic re-surfaces quite frequently, there should be some guidelines, then if the developer wants to

[css-d] after pseudo-class and link

2014-09-17 Thread Dave Solko
Is it possible to add a link to the :after? I'm adding an image via :after, and I want to make it clickable. Is this possible? Using WP, and it's not possible to add the image without hacking the template. However, it's easy to add it to the css, that's why the convoluted solution. Dave Solko

Re: [css-d] More ems fun!

2014-09-17 Thread Crest Christopher
The image is suppose to be seen, but it's not seen because the display is set to none, but it's in a H1 so it works for SEO, but the image doesn't display, hrm ? Karl DeSaulniers wrote: On Sep 17, 2014, at 4:28 PM, Tim Climistim.cli...@gmail.com wrote: h1 span{ display:none; } prevents