UBB.Dev
Posted By: krow Facelift for UBB Threads 6.5 - 10/19/2004 10:15 AM
[]Dalantech said:
Now this: html> is not standard CSS scripting my friend...
[/]

Please take the time to paste it into the official css validator and you will see it validates. I must admit it's css2,though.
http://jigsaw.w3.org/css-validator/validator-text.html
Posted By: Dalantech Re: Facelift for UBB Threads 6.5 - 10/19/2004 11:32 AM
*sigh*

I'll let JC answer this one since you obviously:

1) Don't listen: I told you to take this discussion to this forum and keep the Facelift thread specific to Facelift.

2) Won't believe me when I tell you that putting html> into a CSS file isn't valid, even though the validation page doesn't catch it...
Posted By: krow Re: Facelift for UBB Threads 6.5 - 10/19/2004 2:08 PM
Sorry about 2). I'll let the w3c answer on 1):

Cascading Style Sheets, level 2 revision 1, Section 5.6
http://www.w3.org/TR/CSS21/selector.html#child-selectors

A child selector matches when an element is the child of some element. A child selector is made up of two or more selectors separated by ">".

Example(s):

The following rule sets the style of all P elements that are children of BODY:

body > P { line-height: 1.3 }

Example(s):

The following example combines descendant selectors and child selectors:

div ol>li p

It matches a P element that is a descendant of an LI; the LI element must be the child of an OL element; the OL element must be a descendant of a DIV. Notice that the optional whitespace around the ">" combinator has been left out.
Posted By: Dalantech Re: Facelift for UBB Threads 6.5 - 10/19/2004 5:36 PM
OK -you win. But what happens when IE and Firefox start conforming to CSS2?...

Your using a standard CSS property -granted. But you're using it to get around an error in a browser...
© UBB.Developers