css: align justify, but text on left side -


why doesn't justify work? text stays left-aligned.

<div class="menu">     text text text </div> .menu{      width: 150px;      background-color: #c1c1c1;      color: #000;      text-align: justify;    } 

live sample: http://jsfiddle.net/fukpr/

text-align: justify doesn't justify last line of text block/paragraph.

example longer text: http://jsfiddle.net/fukpr/1/


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -