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