Posted by Chris Vogel on 12/09/06 14:54
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
bongo wrote:
> I'm trying the pseudo-element: first-line, but i can't succeed in use it.
> This is my sintax in an external CSS:
>
>
> .autore:first-line { font-weight: bold }
>
>
> In my page I have various div and, among them, I have:
>
> <div class="autore">abcdefghilmno pqrstuvz ad so on</div>
>
>
> The pseudo-element listed above does not work, can you tell me why?
>
> Thanks
It looks fine to me. Try validating the CSS
<http://jigsaw.w3.org/css-validator/> and fixing the errors. (Don't
worry about the warnings right now.) You might have a syntax error
higher up in the stylesheet that's causing your browser to skip over it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFes4w7s5PbTgRmZARAiQ6AJ9wL5MJz83Gd8iqHG9XBONk4K4IYQCcCvaj
b3ju6O0U8LKJlcrNdfXHs+s=
=NU+a
-----END PGP SIGNATURE-----
[Back to original message]
|