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

Posted by Jonathan N. Little on 12/09/06 15:34

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?

1) Maybe it is working but your DIV content is so short that only one
line is showing that you don't realize that it is bold. Add more content
that forces the content to wrap...

2) The font that you are using doesn't have a "bold" version on your
machine or the bold is very subtle.

3) What browser are you testing with? Maybe it does not support
"first-line" pseudo-element, IE before 5.5 does not.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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