|
Posted by Neredbojias on 02/17/07 19:42
On Fri, 16 Feb 2007 12:34:47 GMT HDI scribed:
> Hi,
>
> .pic {
> font-family: Arial, Helvetica, sans-serif;
> font-size: 10px;
> line-height: 18px;
> font-weight: normal;
> text-decoration: none;
> list-style-position: outside;
> list-style-image: url(test.gif);
> }
>
> in my html:
> <ul>
> <li class="pic"><a href="01.html" target="_blank">01</a></li>
> <li class="pic"><a href="02.html" target="_blank">02</a></li>
> <li class="pic"><a href="03.html" target="_blank">03</a></li>
> </ul>
>
> the pic is bigger than the fontsize.
>
> How can I get the text in the middle of the pic?
>
>
> Thx
>
Did you try vertical-align:middle; in .pic?
Dunno if it actually works...
--
Neredbojias
He who laughs last sounds like an idiot.
Navigation:
[Reply to this message]
|