Fiddle with the line-height property for the text.

<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 29, 2006 10:46 AM
To: CF-Talk
Subject: CSS and list items


OK I am making a tree menu using unordered lists, and using icons for the
list items.

E.g.

<ul>
        <li style="list-style-image:
url(images/icons/home_icon_16x16.gif);">something</li>
</ul>

But the text and the image are not aligned (centered), the image is always
higher than the text.
How does one align them? I cannot seem to find any CSS attributes to do
this.


Russ





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245080
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to