File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN'>
22<html lang="en">
3- <!-- $Id: selector.src,v 2.48 1998-04-30 23:21:19 ijacobs Exp $ -->
3+ <!-- $Id: selector.src,v 2.49 1998-05-03 01:05:09 ijacobs Exp $ -->
44<head>
55<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66<title>Selectors</title>
@@ -259,12 +259,13 @@ BODY > P { line-height: 1.3 }
259259<div class="example"><P>
260260The following example combines descendant selectors and child selectors:</p>
261261<pre>
262- DIV OL > LI P
262+ DIV OL>LI P
263263</pre>
264264
265265<P>It matches a P element that is a descendant of an LI; the LI element
266266must be the child of an OL element; the OL element must be a
267- descendant of a DIV.
267+ descendant of a DIV. Notice that the optional whitespace around
268+ the ">" combinator have been left out.
268269</div>
269270
270271<P>For information on selecting the first child of an element, please
You can’t perform that action at this time.
0 commit comments