newspaper style text align!

Another quick bit of code tip. If you need to align text to the left, right or center, you use the, “text-align:” selector. But this is also used to style the way text flows. If you need a newspaper text layout use the text-align: justify; command.

This distributes text evenly over the line space. So if you have a set width to a paragraph of text, it will spill to each end.

 

.a_content ul{
    text-align: justify;
    margin:10px;
}

for further reading on other text alignment visit http://www.css3.com/css-text-justify/

About these ads