On 21/10/2011 2:15 PM, Elli Vizcaino wrote:
It seems like you get what inherit does/mean and and how it differs
from what happens to child elements of a parent with opacity applied.
Would you know how to explain the difference?
Try this code Elli.
#parent {
color: white;
background: gr
On 10/20/2011 11:33 PM, Al Sparber wrote:
On 10/20/2011 11:04 PM, Elli Vizcaino wrote:
On 10/20/11 12:28 PM, Elli Vizcaino wrote:
What I'm getting at is, if a box element gets an opacity property with
a value of 0.5 for a semi transparent effect, do child elements such
as text
then display
On Oct 21, 2011, at 12:26 PM, Elli Vizcaino wrote:
>> View this testcase and compare the 2 boxes:
>> http://dev.l-c-n.com/_temp/translucent-transparent.html
> Just took a loot at the opacity sample. And of course I used, Firebug to
> inspect code and firebug says that the opacity of 0.5 on the
On Thursday 2011-10-20 20:09 -0700, Elli Vizcaino wrote:
> The photoshop analogy helps me get it but then I guess I must be
> misunderstanding the meaning of inheritance, can you tell me what
> exactly does the definition of inherit mean?
It means that the value of the property gets copied from th
On Oct 21, 2011, at 12:09 PM, Elli Vizcaino wrote:
> The photoshop analogy helps me get it but then I guess I must be
> misunderstanding the meaning of inheritance, can you tell me what exactly
> does the definition of inherit mean?
Here is the CSS 2.1 definition of 'inherit':
http://www.w3.or
On 10/20/2011 11:26 PM, Elli Vizcaino wrote:
Philippe Wittenbergh
http://l-c-n.com/
Just took a loot at the opacity sample. And of course I used, Firebug to
inspect code and firebug says that the opacity of 0.5 on the img has been
inherited from div.a - this is why I'm confused and unsure t
On 10/20/2011 11:04 PM, Elli Vizcaino wrote:
On 10/20/11 12:28 PM, Elli Vizcaino wrote:
What I'm getting at is, if a box element gets an opacity property with
a value of 0.5 for a semi transparent effect, do child elements such as text
then display in the browser at that same semi-transpa
>> That seems like a contradictory statement and leaves me still somewhat
> confused. What I'm getting at is, if a box element gets an opacity property
> with a value of 0.5 for a semi transparent effect, do child elements such as
> text then display in the browser at that same semi-transpare
> I think what it means is the elements get opacity applied - parent and child
> -
> simultaneously as if they were separate elements.
>
> Out of curiosity, if it was inherited, would the opacity amount get
> compounded
> the more levels deep the elements went??
>
> Sent from iOS 5
It se
> On Oct 21, 2011, at 1:28 AM, Elli Vizcaino wrote:
>
>>> As David notes, the descendants of a box with opacity applied don't
> inherit that opacity. The property is applied to the (block) box and all its
> descendants. If what you want is a box with a semi-transparent background and
> /
>
> On 10/20/11 12:28 PM, Elli Vizcaino wrote:
>> What I'm getting at is, if a box element gets an opacity property with
> a value of 0.5 for a semi transparent effect, do child elements such as text
> then display in the browser at that same semi-transparent value?
>> Elli Vizcaino
>>
>
>
On Thu, 20 Oct 2011, Dougie McGilvray wrote:
Hi, going back through a site to make it usable in IE7. I'm noticing
the root of many problems come from a rule in the section resetting
browser defaults:
* {line-height: 1px}
I notice in Meyer's CSS Reset, the reset is
body {
line-height: 1;
}
Am
On Oct 21, 2011, at 9:24 AM, Dougie McGilvray wrote:
> * {line-height: 1px}
>
> I notice in Meyer's CSS Reset, the reset is
>
> body {
> line-height: 1;
> }
>
> Am I correct in assuming this is a typo, one of us has changed it to 1px??
Definitively a typo
Philippe
--
Philippe Wittenbergh
http
Hi, going back through a site to make it usable in IE7. I'm noticing
the root of many problems come from a rule in the section resetting
browser defaults:
* {line-height: 1px}
I notice in Meyer's CSS Reset, the reset is
body {
line-height: 1;
}
Am I correct in assuming this is a typo, one of
On Oct 21, 2011, at 1:28 AM, Elli Vizcaino wrote:
>> As David notes, the descendants of a box with opacity applied don't inherit
>> that opacity. The property is applied to the (block) box and all its
>> descendants. If what you want is a box with a semi-transparent background
>> and / or bord
On 10/20/11 12:28 PM, Elli Vizcaino wrote:
What I'm getting at is, if a box element gets an opacity property with
a value of 0.5 for a semi transparent effect, do child elements such
as text then display in the browser at that same semi-transparent value?
Elli Vizcaino
Try it and see.
--
I think what it means is the elements get opacity applied - parent and child -
simultaneously as if they were separate elements.
Out of curiosity, if it was inherited, would the opacity amount get compounded
the more levels deep the elements went??
Sent from iOS 5
On Oct 20, 2011, at 12:28 PM
>On Oct 20, 2011, at 12:36 AM, Elli Vizcaino wrote:
>
>> If I recall correctly, child elements inherit the opacity property of parent
>> elements. Meaning, any text within a div with an opacity declaration would
>> then also take on the same values. Has this changed with CSS3?
>
>As David notes,
2011/10/9 Jukka K. Korpela
> [...]
>
> In this specific case, I was able to track down the problem with my
> advanced ESP [...]
>
I KNEW it. There are ESPers on this list. I just *KNEW* it! You have to be
an ESPer to be good with CSS!
pozdrawiam,
Tomasz Borek
PS. Yeah, you don't, I know. "Pract
19 matches
Mail list logo