You are here: Re: pseudo-element: first-line « HTML « IT news, forums, messages
Re: pseudo-element: first-line

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-----

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация