I was checking on ff 1.5.
Here's the code to test:

<html><head>
<style>
 p:first-letter{
  color:red;
 }
</style>
</head>

<body>
<p>test</p>
<p>*test</p>
<p>***test</p>
<p>&nbsp;test</p>
</body>
</html>


The best solution is to use the :before pseudo selector as Mr Baron
pointed out but my corp is an IE only shop. :(



On 2/21/06, David Hucklesby <[EMAIL PROTECTED]> wrote:
> Vinson Gracia wrote:
> >
> > I thought I was being clever by using the first-letter pseudo selector
> > to style my required field asterisk without any extra code but firefox
> > rained on my parade.
>
> On which version of Firefox does this not work? I have an example of
> using :first-letter to color a "heart" entity - admittedly generated
> content, but applied *after* generating (for the sake of other browsers).
>
> Here's the example, still working on FF 1.0.5.1 -
>   <http://localhost/sandbox/hearts.html>
>
> Do you have a URL we could look at?
>
> Cordially,
> David
> --
> David Hucklesby, on 2/21/2006
> <http://www.hucklesby.com/>
> --
>
>
>
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to