[問題] ol li標籤 置入img

作者: neocc (neo)   2014-05-01 04:24:23
各位好
<ol>
<li>A<img src="test.jpg"></li>
<li>B</li>
</ol>
請問
上述的程式碼 要怎麼改
才會讓第二個<li>B 接在換行之後的 test.jpg 圖形後面呢?
google爬文過了
找不到答案...
懇請高手賜教!
作者: neocc (neo)   2014-05-01 04:52:00
另外圖片還需要樣右邊對齊
作者: Rplus (R+) (9527)   2014-05-01 05:21:00
爬文 keyword 為何?
作者: neocc (neo)   2014-05-01 06:06:00
li img => 我想應該很多新手會遇到一樣問題但是他們提出的解決方法 我卻不行..
作者: Rplus (R+) (9527)   2014-05-01 07:35:00
google 到(不適用)的解決方法為何?
作者: harry1123 (海賊王)   2014-05-01 13:59:00
padding-left ?
作者: fet0124 (亞欣)   2014-05-01 17:09:00
css li設定float?
作者: pttchujay (阿捷)   2014-05-02 13:09:00
試試 li{float:right;display:block}

Links booklink

Contact Us: admin [ a t ] ucptt.com