Glad to see you are still hanging out here.
>> I have some divs (float: left) that I'd like to set a minimum height
>>on. What's the level of support on min-height and are there any bugs I
[quoted text clipped - 5 lines]
> .YourClass{min-height:10em;height:10em}
> *>.YourClass{height:auto}
*> that is something I haven't used either. I don't even know what to
call it! Let me know so I can google it.
Cheers,
Jeff
Jim Moe - 24 Mar 2006 07:56 GMT
>> .YourClass{min-height:10em;height:10em}
>> *>.YourClass{height:auto}
>
> *> that is something I haven't used either. I don't even know what to
> call it! Let me know so I can google it.
"*" is the universal selector; it applies to all objects.
">" is the child selector.
Put together it means "for a child of any object" apply this style.
It is not supported by IE6 and earlier so is ignored. IE also ignores
min-height:10em leaving a net style of height:10em, which it incorrectly
treats as min-height.
Modern browsers recognize " * > " and apply the style overriding the
height:10em previously specified.
(Isn't this fun? Yee haw!)

Signature
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Spartanicus - 24 Mar 2006 10:32 GMT
> "*" is the universal selector; it applies to all objects.
It matches any *element*.

Signature
Spartanicus
Tony - 24 Mar 2006 19:02 GMT
> "*" is the universal selector; it applies to all objects.
> ">" is the child selector.
> Put together it means "for a child of any object" apply this style.
Wouldn't that pretty much mean every object, except the <body>?
Jim Moe - 24 Mar 2006 20:36 GMT
>> "*" is the universal selector; it applies to all objects.
>> ">" is the child selector.
>> Put together it means "for a child of any object" apply this style.
>
> Wouldn't that pretty much mean every object, except the <body>?
Every element except <html>.
I suppose the OP could be more specific about which element and child to
constrain the height property rather than use "*".

Signature
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Tony - 24 Mar 2006 21:12 GMT
>>> "*" is the universal selector; it applies to all objects.
>>> ">" is the child selector.
[quoted text clipped - 3 lines]
>
> Every element except <html>.
Makes it seem rather pointless...
Jasen Betts - 25 Mar 2006 02:09 GMT
>>>> "*" is the universal selector; it applies to all objects.
>>>> ">" is the child selector.
[quoted text clipped - 5 lines]
>
> Makes it seem rather pointless...
no, it makes a non-ie filter a way to hide valid styles from IE where it will
mis-represent them.

Signature
Bye.
Jasen
Tony - 27 Mar 2006 20:22 GMT
>>>>> "*" is the universal selector; it applies to all objects.
>>>>> ">" is the child selector.
[quoted text clipped - 8 lines]
> no, it makes a non-ie filter a way to hide valid styles from IE where it will
> mis-represent them.
AH - ok. I try REALLY hard to avoid such things (using hacks that hide
styles from specific browsers), so I don't recognize them so readily.
But now you mention it, I do remember seeing that a couple times.
Spartanicus - 25 Mar 2006 08:33 GMT
>>> "*" is the universal selector; it applies to all objects.
>>> ">" is the child selector.
[quoted text clipped - 5 lines]
> I suppose the OP could be more specific about which element and child to
>constrain the height property rather than use "*".
Hold on, the example I provided uses a class as well. I used "*" since
that would allow the OP to use the code example by only changing the
class name. Using "*" also means that the CSS code will survive a change
in the markup (bar a class name change).

Signature
Spartanicus
Jim Moe - 25 Mar 2006 21:36 GMT
>>>> "*" is the universal selector; it applies to all objects.
>>>> ">" is the child selector.
[quoted text clipped - 4 lines]
> class name. Using "*" also means that the CSS code will survive a change
> in the markup (bar a class name change).
Ah! So it is better phrased as "an element that is a child of any
element and uses .YourClass"?

Signature
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jeff - 27 Mar 2006 06:07 GMT
>>>>> "*" is the universal selector; it applies to all objects.
>>>>> ">" is the child selector.
[quoted text clipped - 7 lines]
> Ah! So it is better phrased as "an element that is a child of any
> element and uses .YourClass"?
In an off hand way, that makes perfect sense. Thanks to all.
I use descendants quite a bit.
#some_container p{...
Am I correct in assuming that the child selector works the same way,
except that it must be a "first order descendant"?
#some_container > p{...
<div id="some_container">
<p>styled</p>
<p>also styled</p>
<div><p>not styled by that child selector</p></div>
...
Cheers,
Jeff
Jasen Betts - 25 Mar 2006 02:06 GMT
>> "*" is the universal selector; it applies to all objects.
>> ">" is the child selector.
>> Put together it means "for a child of any object" apply this style.
>
> Wouldn't that pretty much mean every object, except the <body>?
<body> is a child of <html>.
Bye.
Jasen
Jasen Betts - 24 Mar 2006 12:30 GMT
>> .YourClass{min-height:10em;height:10em}
>> *>.YourClass{height:auto}
> *> that is something I haven't used either. I don't even know what to
> call it! Let me know so I can google it.
> is the child selector which IE doesn't support
* is a wildcard.

Signature
Bye.
Jasen