开发者

Aligning a multiline li in an ul [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 4 years ago.

Improve this question 开发者_运维百科

I have two li (points) on this page http://animactions.ca/Animactions/le_developpement_des_equipes_de_travail.php that take up two lines. I'm not sure how to properly align them so that they line up with the first line.

I'm referring to this point:

Renforcir la cohésion et l’esprit d’équipe pour un travail proactif et durable qui génère des
    rendements supérieurs. 


Change your list style so that the list bullets are outside the list. This is actually the default.

.list_a {
   color:#3E3E3E;
   font-family:Calibri;
   font-size:medium;
   list-style:square outside url("Images/list.png");   // not inside
   margin-top:1px;
}

Setting the list bullets to "inside" means that they become part of the line items, and thus take up the same layout space as the text of the item. This causes text to wrap underneath the bullets, rather than occupying a separate layout block.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜