以下是我的代碼,其中我使用內聯樣式將文本與相應的圖像頂部對齊,但內聯的css不能正常工作讓我知道如何修改下面的代碼,所以文字將與相應的圖像對齊。頂部對齊的無序列表的文本
<ul style="font-size:17px;vertical-align:top; margin-top:0;">
<li style="list-style-image: url(images/check.png);">Text is not aligning to topText is not aligning to topText is not aligning to topText is not aligning to topText is not aligning to topText is not aligning to top</li>
<li style="list-style-image: url(images/check.png);">Text is not aligning to topText is not aligning to topText is not aligning to topText is not aligning to topText is not aligning to topText is not aligning to topText is not aligning to topText is not aligning to top</li>
</ul>
您可以加入您的列表項的形象呢? – Malkus
@MikeB使用這個網址http://img253.imageshack.us/img253/149/02yespw9.gif對於圖像,並使用div的寬度100px –