css direct style ok, indirect no work

Giganews Newsgroups
Subject: css direct style ok, indirect no work
Posted by:  arreeess (no…@yyyy.yy)
Date: Sat, 12 Jun 2004

i wont used three styles in the element of a list;
i have does so:

<ul>
  <li> ............................. </li>  first style
  <li> <p> .....................</p> </li>  2°    style
  <li> <p class:"mystile">..... </p> </li>  3°    style
  ...
</ul>
the call to class
not function,  no work

<ul>
  <li> ............................. </li>  first style
  <li> <p> ..........................</p> </li>
  <li> <p style="background:blue>..... </p> </li>
  ...
</ul>

insert direct
this  ok

Why?
How i can resolve ?

thank you

Replies