Re: Style and <frameset>

Peter Linss wrote:

 > > Don't we need pseudo-elements like :table, :table-row ... to define that
 > > (it's a proposal if the answer to the preceding question is "You can't") ?
 > 
 > Yes. Those pseudo elements come in very handy when CSS generates "anonymous"
 > frames for you. That's why Mozilla already implements them. (For the record,
 > we have no "anonymous" frames, they *all* have pseudo element names so they
 > can be styled. This is something that should be formalized in CSS3.)

What elements do you typically attache the pseudo-element selectors
to?

Given this markup:

  <UL><LI></LI><LI></LI></UL>

and this style sheet:

  UL { display: table-row }
  LI { display: table-cell }

could you do:

  LI:table { color: red }

or

  UL:table { color: blue }

or both? Or, somthing else?

-h&kon

Håkon Wium Lie             http://www.operasoftware.com/people/howcome
howcome@operasoftware.com                      simply a better browser

Received on Tuesday, 15 June 1999 12:48:55 UTC